home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / ques_221.zip / QUESDOOR.DOC next >
Text File  |  1991-04-15  |  111KB  |  3,211 lines

  1.  
  2.  
  3.                                                               
  4.                                                                              
  5.  
  6.  
  7.     Ra 1.0 and up  ▄▄▄  ▄ ▄ ▄▄▄▄▄ ▄▄▄▄ ▄   ▄ ▄▄▄  ▄▄▄▄ ▄▄▄
  8.     ╔══════════════█▄▄  ▀▄▀   █   █▄▄  █▀▄ █ █  █ █▄▄  █  █═════════════╗
  9.     ║ ░░░░░░░░░    █▄▄▄ █ █   █   █▄▄▄ █  ▀█ █▄▄▀ █▄▄▄ █▄▄▀             ║
  10.     ║ ░░     ░░                                                         ║
  11.     ║ ░░     ░░                                                    (tm) ║
  12.     ║ ░░     ░░ ░░   ░░ ░░░░░░░ ░░░░░░░ ░░░░░░  ░░░░░░░ ░░░░░░░ ░░░░░░░ ║
  13.     ║ ░░     ░░ ░░   ░░ ░░      ░░      ░░   ░░ ░░   ░░ ░░   ░░ ░░   ░░ ║
  14.     ║ ░░     ░░ ░░   ░░ ░░░░░   ░░░░░░░ ░░   ░░ ░░   ░░ ░░   ░░ ░░░░░░░ ║
  15.     ║ ░░  ░░ ░░ ░░   ░░ ░░           ░░ ░░   ░░ ░░   ░░ ░░   ░░ ░░  ░░  ║
  16.     ║ ░░░░░░░░░ ░░░░░░░ ░░░░░░░ ░░░░░░░ ░░░░░░  ░░░░░░░ ░░░░░░░ ░░   ░░ ║
  17.     ║       ░░                                                          ║
  18.     ║                   An Extended Questionnaire Command Language Door ║
  19.     ║                   For RemoteAccess                V 2.20          ║
  20.     ╚═══════════════════════════════════════════════════════════════════╝
  21.       
  22.                   Copyright (c) Ron Huiskes and Intersoft 1990-91
  23.                              All rights reserved
  24.           
  25.           
  26.           
  27.           
  28.           
  29.           
  30.           
  31.                          The QUESDOOR support board is:
  32.         
  33.                          InterFace HeadQuarters Europe
  34.                                  p.o. Box 528
  35.                              2280 AM Rijswijk ZH
  36.                                The Netherlands
  37.           
  38.                         +31-70-3361380 / +31-70-3361381
  39.                              Matrix: [2:281/506]
  40.           
  41. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 1
  42.                  
  43.          
  44.                                TABLE OF CONTENTS
  45.                                -----------------
  46.           
  47.           
  48.           1.   Disclaimer and legal matters.........................
  49.                Legal terms.......................................... 3
  50.                License information.................................. 3
  51.                Registering.......................................... 4
  52.           
  53.           2.   Introduction.........................................
  54.                What is Quesdoor ?................................... 5
  55.                Installing and behaviour............................. 5
  56.                Command language..................................... 6
  57.                Tips................................................. 6
  58.           
  59.           3.   Input commands.......................................
  60.                Ask.................................................. 8
  61.                AskEdit.............................................. 8
  62.                AskForced............................................ 8
  63.                AskCount............................................. 9
  64.                AskNumber............................................ 9
  65.                AskDate.............................................. 9
  66.                GetChar.............................................. 10
  67.                GetChoice............................................ 10
  68.           
  69.           4.   Output commands to screen............................
  70.                ChangeColor.......................................... 10
  71.                ClearScreen.......................................... 11
  72.                Display.............................................. 11
  73.                DisplayFile.......................................... 11
  74.                DisplayAnyFile....................................... 12
  75.                ListAnswer........................................... 12
  76.                ListSecurity......................................... 12
  77.                ListTimeLeft......................................... 12
  78.                ListFlags............................................ 13
  79.                Output............................................... 13
  80.           
  81.           5.   Output commands to file/disk.........................
  82.                Delete............................................... 14
  83.                PostInfo............................................. 14
  84.                Output............................................... 13
  85.                OutputAnswer......................................... 14
  86.                OutputLog............................................ 15
  87.           
  88.           6.   Setting commands.....................................
  89.                Random............................................... 15
  90.                SetDataPhone......................................... 15
  91.                SetFlag.............................................. 15
  92.                SetHomePhone......................................... 16
  93.                SetLevel............................................. 16
  94.                SetParam............................................. 16
  95.                SetSecurity.......................................... 17
  96.                SetTime.............................................. 17
  97.                SetVar............................................... 17
  98.                Toggleflag........................................... 18
  99.          
  100.           7.   Aritmethic commands..................................
  101.                Addvar............................................... 18
  102.                Mulvar............................................... 18
  103.                Subvar............................................... 18
  104.                Divvar............................................... 19
  105.                Pastevar............................................. 19
  106.              
  107. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 2
  108.  
  109.  
  110.           8.   Procedure commands...................................
  111.                Labels............................................... 20
  112.                Gotolabel............................................ 20
  113.                Gosublabel........................................... 20
  114.                Start................................................ 20
  115.           
  116.           9.   Decision-Making commands.............................
  117.                EndIf................................................ 21
  118.                EndNotIf............................................. 21
  119.                If................................................... 21
  120.                IfNot................................................ 22
  121.           
  122.           10.  Global commands......................................
  123.                CheckPhone........................................... 22
  124.                Readflag............................................. 23
  125.                Readsecurity......................................... 23
  126.                Readansi............................................. 24
  127.           
  128.           11.  Database commands....................................
  129.                WriteData............................................ 25
  130.                LoadData............................................. 25
  131.                CheckData............................................ 26
  132.  
  133.           11.  Voting commands......................................
  134.                Votedoor concept..................................... 27
  135.                AskQuestion.......................................... 27
  136.                ShowAnswer........................................... 27
  137.                ShowQuestion......................................... 28
  138.                VoteQuestion......................................... 28
  139.           
  140.           12.  Timebank commands....................................
  141.                Timebank concept..................................... 30
  142.                BorrowTime........................................... 30
  143.                BuyTicket............................................ 30
  144.                DeposTime............................................ 31
  145.                RedrawTime........................................... 31
  146.                Robbank.............................................. 31
  147.                ShowAccount.......................................... 32
  148.                ShowClients.......................................... 32
  149.                TransTime............................................ 32
  150.                Ed_bank.Exe.......................................... 33
  151.  
  152.           13.  Misc. commands.......................................
  153.                Beep................................................. 34
  154.                Halt................................................. 34
  155.                Pause................................................ 34
  156.                Quit................................................. 34
  157.                Run / Exec .......................................... 34
  158.           
  159.           14.  Appendices...........................................
  160.                Appendix A: Control codes............................ 35
  161.                Appendix B: Let commands............................. 39
  162.                Appendix C: Index.................................... 42
  163.             
  164. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 3
  165.           
  166.  
  167.             Legal Terms
  168.             -----------
  169.           
  170.             Ron Huiskes and InterSoft hereby excludes all warranties
  171.           relating to this software and documentation, whether express
  172.           or implied, including, without limitation, any implied
  173.           warranties of merchantability and/or fitness for a particular
  174.           purpose.
  175.           
  176.             Ron Huiskes and InterSoft shall not be liable for any
  177.           damages, whether direct, indirect, special, incidental, or
  178.           consequential, resulting from the use of this software and
  179.           documentation, due to loss of data or any other reason.
  180.           
  181.             In no event shall Ron Huiskes and InterSoft's liability for
  182.           any damages ever exceed the price paid to InterSoft for the
  183.           license to use this software, regardless of the form of the
  184.           claim.
  185.           
  186.             The person using this software bears all risk as to its
  187.           quality and performance.
  188.           
  189.           
  190.             License information
  191.             -------------------
  192.           
  193.             "Quesdoor" refers to the executable program and
  194.           documentation contained in Quesdoor's software distribution
  195.           archives released by InterSoft.
  196.           
  197.           1. Quesdoor is the copyrighted material of InterSoft. It may
  198.              only be used in agreement with the conditions set out in
  199.              this license agreement.
  200.           
  201.           2. You may use Quesdoor for a period of three weeks on a
  202.              trial basis in order to determine it's suitability for
  203.              your particular application. After this period you MUST
  204.              register each copy of Quesdoor that you run simultaneously.
  205.              Multi-line installations that share a common file base AND
  206.              have the same name need only register one copy.
  207.           
  208.           3. Registration entitles you to use Quesdoor and any future
  209.              versions of Quesdoor for as long as you wish, subject to
  210.              any special licensing conditions attached to future
  211.              versions. For details on the registration procedure, refer
  212.              to the section in this document "Registering".
  213.           
  214.           4. InterSoft is in no way obligated to provide future
  215.              versions of, or support for, Quesdoor. Whether future
  216.              versions will be developed depends upon the number of
  217.              registrations received for this version.
  218.  
  219.           5. Site and Group registrations are available, and are dealt
  220.              with on a case by case basis.
  221.  
  222.           6. You may not modify or otherwise reverse-engineer Quesdoor.
  223.           
  224.           7. You are encouraged to distribute Quesdoor provided that no
  225.              fee is charged for its distribution, and that the
  226.              distribution archive is not modified in any way. Pay
  227.              Bulletin Board Systems may however charge their normal fee
  228.              provided that no additional change for Quesdoor is levied.
  229.           
  230.  
  231. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 4
  232.  
  233.  
  234.           8. Quesdoor may not be included as part of any software
  235.              library which is distributed on a commercial basis without
  236.              prior written permission from InterSoft.
  237.           
  238.           9. Quesdoor may not be used in any unlawful or illegal
  239.              manner.
  240.  
  241.           
  242.           
  243.             Registering
  244.             -----------
  245.           
  246.             The registration fee for Quesdoor is Dfl 25.- (twenty five
  247.           Dutch guilders).
  248.  
  249.  
  250.           Holland: Any method of payment is accepted, either cash, giro,
  251.                    postal money order, check or girotel.
  252.  
  253.           Europe:  Either cash (registered letter) or Eurocheque written
  254.                    out in Dutch currency.
  255.  
  256.           Others:  Contact our US registration site:
  257.             
  258.                    Scott Livingston            Stone Henge BBS
  259.                    290F Brittany Farms Rd      203-826-1153
  260.                    New Britain, CT 06053
  261.                    U.S.A.
  262.  
  263.             Print or reproduce the registration form supplied in the
  264.           distribution archive and send it with your registration
  265.           payment to:
  266.           
  267.                   InterSoft/Quesdoor
  268.                   p.o. Box 528
  269.                   2280 AM Rijswijk ZH
  270.                   The Netherlands
  271.           
  272.             Upon registering you will receive your uniquely generated
  273.           key. Each key is a small file which contains a serial number.
  274.  
  275.  
  276.           To install the key, simply rename it (if necessary) to
  277.           QUESDOOR.KEY and copy it to your RemoteAccess system
  278.           directory or the directory where the message base resist.
  279.           
  280.             This serial number is unique, and under NO circumstances
  281.           should it be made available to anyone else. Doing so is a
  282.           direct violation of the agreement you entered into with us by
  283.           registering.
  284.  
  285.  
  286.             When Quesdoor detects a valid key it switches into
  287.           registered mode, and will show so at the end of an Quesdoor
  288.           session. (Instead of the big add at the end, it will display
  289.           'QUESDOOR v2.0+ by R. Huiskes', a very discreet way of
  290.           showing your users you registered your copy of Quesdoor.)
  291.  
  292.  
  293. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 5
  294.  
  295.     
  296.           What is Quesdoor?
  297.           ----------------
  298.           
  299.             Quesdoor is a RA door with a flexible script language. The
  300.           script language allows you to write your own doors in very
  301.           less time. The script language is fully compatible with the
  302.           language Ra uses, so all your existing questionairs can be
  303.           run without a problem with Quesdoor.
  304.           
  305.             Quesdoor has at this moment around 50 extra enhanced
  306.           commands to this script language, which will make your
  307.           questionairs much more attractive.  The enhanced commands are
  308.           easy to learn and understand.
  309.           
  310.             Even though the command language is easy to understand, if
  311.           you can't write a correct batchfile, this program will
  312.           probably no good for you.
  313.           
  314.           
  315.             Installing and Behaviour
  316.             ------------------------
  317.           
  318.             Quesdoor is a full RA compatible Door. It has built in
  319.           carrier detect routines, and smart fossil and timer
  320.           functions. There is no need for an external watchdog or
  321.           redirect program. Locked baudrates are no problem.
  322.  
  323.             Quesdoor has build in record and file locking routines
  324.           and will need share.exe when the Multiline bit in Raconfig is       
  325.           enabled.
  326.  
  327.             Quesdoor also has a build in Ansi driver. Ansi.sys is not
  328.           required to operate locally. The local site looks almost the
  329.           same as Ra, with the same status column and function keys.
  330.           Alt function keys are also their, just press alt-c for chatmode,
  331.           alt-l to lock out a user forever, alt-h to hangup and alt-n for
  332.           sysop next.
  333.           
  334.             Quesdoor reads questionnaires...  A questionnaire is a plain
  335.           ascii file with on every line a valid command.  The command
  336.           interpreter is case sensitive, so "ask" is the same as "ASK".
  337.           If Quesdoor encounters an invalid command, it beeps and gives
  338.           you the exact error and line number where the mistake was found.
  339.          
  340.       
  341.             Creating a questionnaire is not so easy, and you should
  342.           carefully plan what you are going to do, before you even start
  343.           your editor. Making a questionnaire is much like programming,
  344.           every mistake you make will be directly involve the performance
  345.           of Quesdoor.
  346.           
  347.             Quesdoor will use a lot of Ra's specific files, and
  348.           therefore it is NOT possible to run Quesdoor on other bbs
  349.           systems. Quesdoor will find all these files through the
  350.           paths you set in config.ra.  Config.ra itself can be in the
  351.           dir you invoke Quesdoor from, or in the dir where your Ra
  352.           environment variable points to. (that is usually the case).
  353.        
  354.             The questionnaire(s) itself (Which have the extension .q-a)
  355.           can be in any directory as long as you specify the complete
  356.           path to that questionnaire. 
  357.           
  358.    
  359. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 6
  360.  
  361.           
  362.             Quesdoor can be run as a type 7 or 15, depending on your
  363.           needs and free memory. Quesdoor uses around the 140 K of
  364.           memory.
  365.  
  366.  
  367.             Installing Quesdoor in Ra is easy. Just use a type 7 menu-
  368.           command with in the optional datafield:
  369.           
  370.             <path to>QUESDOOR.EXE [<path to>.Q-A name].
  371.  
  372.             By default quesdoor uses 'QUESDOOR.Q-A' as questionnaire name,
  373.           but if you want to use your own name or if you have more than
  374.           one questionnaire you like to run from quesdoor, you can use any
  375.           legal dos name.
  376.  
  377.              Quesdoor.exe NewUser" will start the newuser questionnaire,
  378.           and "Quesdoor.exe Menu" starts the menu questionnaire, provided
  379.           that they exist.
  380.           
  381.           
  382.  
  383.             Command Language
  384.             ----------------
  385.           
  386.             The command language Quesdoor uses is fully compatible with
  387.           the questionnaire language RemoteAccess uses. Most of these
  388.           commands have enhanced functions which will be explained in
  389.           the next chapters.
  390.           
  391.             These enhanced commands will give you the ability to
  392.           program almost everything you like, including time gamble
  393.           games, a blackjack game, a voting door and a complete
  394.           timebank. (samples are included).
  395.           
  396.             The command language will be enhanced with every new
  397.           version of Quesdoor, and if you have an idea for a command,
  398.           just tell us...
  399.       
  400.             To make it easy for you when writing Questionnaires, Quesdoor
  401.           can be started from Dos, without loggin in to your bbs!
  402.           Just place a '/L' after the questionnaire name on the command 
  403.           line, and Quesdoor will create two temporary Raccess files
  404.           (dorinfo1.def and exitinfo.bbs) which enables you to start 
  405.           the questionnaire.
  406.  
  407.  
  408.           TIPS 
  409.           ----
  410.  
  411.           Specifying a '/L' on the command line will let you test
  412.           out Questionnaires from Dos. Never use this in a menu command.
  413.  
  414.           Specifying a '/E' on the command line will disable ANY error
  415.           message. Useful when you install your 100% perfect questionnaire
  416.           in Ra, and you don't want to see the internal messages from
  417.           Quesdoor at start.
  418.           The error messages can also be set on or off with a special
  419.           command to use in the questionnaire itself. (see LET commands).
  420.  
  421.  
  422. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 7
  423.  
  424.  
  425.           In order to program a good questionnaire, here are some points
  426.           to take care of:
  427.           
  428.             ■ First make sure you know all the commands which you can
  429.               use globally. There are many commands that look-a-like,
  430.               and do almost the same thing. Make sure you know the
  431.               differents.
  432.  
  433.             ■ Make sure that on every line of the questionnaire there
  434.               is only one valid command, they may start on every column
  435.               you wish.
  436.  
  437.             ■ Leave comments in your questionnaires (starting with ';' on
  438.               every line) so that even after a year you still now what
  439.               and why you did something.
  440.  
  441.             ■ Try out a questionnaire several times from Dos before you
  442.               bring it online.
  443.  
  444.  
  445. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 8
  446.  
  447.  
  448.           In the next couple of chapters we will express every command
  449.           that is legal to use in Quesdoor's interpreter. We'll start 
  450.           with all the input routines that are possible....
  451.                
  452.  
  453.  
  454.           The command: ASK
  455.           ----------------
  456.           
  457.           Syntax:  Ask <Len> <Var num>
  458.           
  459.           Example :  Display "What is your name ?"
  460.                      Ask 15 3
  461.           
  462.           This command waits for the user to input a string that is up
  463.           to 15 characters long (in this example), and stores the
  464.           string in the variable number 3 (also in this example). Valid
  465.           values for <Len> are 0 to 255. <Var num> may be any number
  466.           between 1 and 40. If <Len> is 0 only [ENTER] is a valid
  467.           response, and the contents of <Var num> will be empty.
  468.           
  469.           
  470.           
  471.  
  472.           The command: ASKEDIT
  473.           --------------------
  474.  
  475.           Syntax: Askedit <Len> <var num>
  476.  
  477.           Example:  Display "What is your name ?"
  478.                     Askedit 15 3
  479.  
  480.           This command is almost the same as the ASK command. When this
  481.           command is used, first the contents of <var num> will be shown,
  482.           and then the user gets the change to edit this contents (with 
  483.           the backspace key to delete chars). If the contents of <var num>
  484.           was empty before the command was executed, the ASKEDIT command
  485.           reacts the same as the ASK command.
  486.           
  487.           When you use this example in some kind of registration door it is
  488.           most likely that Quesdoor already knows the name of the user, and
  489.           it looks better if Quesdoor could give the user the change to edit
  490.           his name (or just press enter if correct) instead of filling it in
  491.           for a second time (when he logged on it was the first thing he had
  492.           to fill in.) To bring the name of the user in variable number 3 you
  493.           can use the SETVAR command. In this example it was
  494.           better to begin the questionnaire with: SETVAR 3 = A. This will
  495.           fill variable number 3 with the users full name. (see the control
  496.           codes section and setvar section further in this doc)
  497.  
  498.  
  499.  
  500.  
  501.  
  502.           
  503.           The command: ASKFORCED
  504.           ----------------------
  505.  
  506.           Syntax: Askforced <min length> <max length> <var num>
  507.  
  508.           Example : Display "What is your name ?"
  509.                     Askforced 2 35 1
  510.  
  511.  
  512. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 9
  513.  
  514.  
  515.           This command waits for the user to input a string that is up
  516.           to 35 characters (in this example), and at least 2 characters.
  517.  
  518.           In this example the user cannot press enter/return before he
  519.           inputs at least 1 character. The input string will be stored
  520.           in variable number 1. 
  521.  
  522.  
  523.  
  524.           
  525.           The command: ASKCOUNT
  526.           ---------------------
  527.           
  528.           Syntax: Askcount <min length> <max length> <var num>
  529.           
  530.           Example:  Display "Enter your telephone number:"
  531.                     Askcount 10 15 2
  532.           
  533.           This command will let the user only input integers 0 'till 9
  534.           and  '-', '(' and ')'. You can specify exactly how long the
  535.           input field may be, including minimum and maximum length. The
  536.           contents of the input field will be stored in variable number
  537.           2 (in this example).
  538.           
  539.           
  540.  
  541.           
  542.           The command: ASKNUMBER
  543.           ----------------------
  544.  
  545.           Syntax: Asknumber <minimal value> <maximum value> <var num>
  546.  
  547.           Example: Display "Enter your age:"
  548.                    Asknumber 5 99 1
  549.  
  550.           The asknumber command is completely different from the askcount
  551.           command. This command needs an number from the user as input,
  552.           and you can supply the range. In the above example the user is
  553.           asked about his age. Quesdoor will refuse any input below 5 or
  554.           above 99. It simply beeps and refuses to continue. You must make
  555.           sure that you let the user know what the range is. (In the above
  556.           example it's obvious, if a 4 year old kid, or someone with age 
  557.           101 starts calling your board you can better call it ghost bbs)
  558.  
  559.           
  560.  
  561.  
  562.           The command: ASKDATE
  563.           --------------------
  564.  
  565.           Syntax: AskDate <var num>
  566.  
  567.           Example: Askdate 2
  568.  
  569.           With this command, the user is expected to enter a date. Quesdoor
  570.           will beep and refuse to continue (the enter key) when the date
  571.           is invalid.
  572.           The <var num> will be filled with the date the user entered.
  573.  
  574.           As default Quesdoor uses the DD/MM/YY (european) date form, but
  575.           with the 'LET DATEFORM' command you can set other forms... See
  576.           appendix B for more info on the Let command.
  577.  
  578.  
  579. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 10
  580.  
  581.  
  582.           The command: GETCHAR
  583.           --------------------
  584.           
  585.  
  586.           Syntax: Getchar [Var num]
  587.           
  588.           Example : Display "Enter your choice: "
  589.                     Getchar 2
  590.           
  591.           This command waits for the input of ONE character and
  592.           optionally stores the character in var num 2 (in this
  593.           example). This command is different from the Getchoice
  594.           command below that with this any input character is valid.
  595.           Also this command differs from the Ask command because with
  596.           this, no enter is expected from the input site.
  597.           
  598.  
  599.           
  600.           
  601.           The command: GETCHOICE
  602.           ----------------------
  603.           
  604.           Syntax:  GetChoice <Valid choices> [Var num]
  605.           
  606.           Example : Display "Are you sure ? (Y/N) "
  607.                     GetChoice YN 2
  608.           
  609.           Waits for the user to enter one of the characters in <Valid
  610.           choices>, and optionally stores the response in the variable
  611.           [Var num].  If [Var num] is not specified, the response will
  612.           not be stored.
  613.          
  614.          
  615.          
  616.           
  617.           The command: CHANGECOLOR
  618.           ------------------------
  619.           
  620.           Syntax: ChangeColor <Foreground> [Background]
  621.           
  622.           Example : ChangeColor 7 1
  623.           
  624.           Changes the colour of the text if the user has ANSI graphics
  625.           enabled.  [Background] is optional, and defaults to 0.  Valid
  626.           colours are:
  627.           
  628.                   <Foreground>                        [Background]
  629.                  ------------                        ------------
  630.                   0    Black                          0   Black
  631.                   1    Blue                           1   Blue
  632.                   2    Green                          2   Green
  633.                   3    Cyan                           3   Cyan
  634.                   4    Red                            4   Red
  635.                   5    Magenta                        5   Magenta
  636.                   6    Brown                          6   Brown
  637.                   7    Light Grey                     7   Light Grey
  638.                   8    Dark Grey
  639.                   9    Light Blue
  640.                  10    Light Green
  641.                  11    Light Cyan
  642.                  12    Light Red
  643.                  13    Light Magenta
  644.  
  645.  
  646. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 11
  647.  
  648.  
  649.                  14    Yellow
  650.                  15    White
  651.           
  652.           
  653.  
  654.  
  655.           
  656.           The command: CLEARSCREEN
  657.           -------------------------
  658.           
  659.           Syntax: ClearScreen
  660.           
  661.           Example : ClearScreen
  662.           
  663.           This command clears the screen on the users and local side
  664.           provided that the user has screen clearing enabled.
  665.           
  666.           
  667.           
  668.          
  669.           The command: DISPLAY
  670.           --------------------
  671.           
  672.           Syntax: Display "<Text> [|]"
  673.                   Display <var num>[L/R<fixed length>]
  674.           
  675.           Example 1: Display "Please answer ALL questions|"
  676.           
  677.           Displays the specified text between the quotes on the screen.
  678.           The optional vertical bar is translated to a line-feed and
  679.           carriage return. If this bar is omitted, any following text
  680.           starts at the next character on the same line.
  681.           
  682.           Example 2: Display 7
  683.     
  684.           Displays the contents of variable number 7 (in this example)
  685.           on the screen.
  686.           
  687.           Example 3: Display 7L10
  688.           
  689.           Presume the contents of var 7 is "Ron", with the above example
  690.            "Ron       " is shown.
  691.           
  692.           Example 4: Display 7R10
  693.           
  694.           Presume the contents of var 7 is "Ron", with the above example
  695.           "       Ron" is shown.
  696.           
  697.           
  698.           
  699.       
  700.     
  701.           The command: DISPLAYFILE
  702.           ------------------------
  703.           
  704.           Syntax: DisplayFile <1-8 character file name>
  705.                   DisplayFile #<var num>
  706.           
  707.           Example : DisplayFile BBSRULES
  708.           
  709.           Causes a text file to be displayed in the same way as a menu
  710.           type 5 would be displayed in Ra. The text file must be in the
  711.  
  712.  
  713. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 12
  714.  
  715.  
  716.           text file directory specified in Config.ra, and it must have
  717.           the extension .ASC/.ANS. In the text file all sort of control
  718.           codes may be used. See appendix B for a list of all useable
  719.           control codes.
  720.  
  721.           When using the #<var num> as filename, the <var num> must contain
  722.           a legal dos name.
  723.           
  724.           
  725.           
  726.  
  727.           The command: DISPLAYANYFILE
  728.           ---------------------------
  729.  
  730.           Syntax: DisplayAnyFile <complete path + filename> or
  731.                   DisplayAnyFile #<var num>
  732.   
  733.           Example: DisplayAnyFile c:\txtfiles\welcome.asc
  734.  
  735.           With this command you can display any file you which, anywhere
  736.           on your disk. The difference with the displayfile command is, 
  737.           that with the displayfile command all the files to be displayed
  738.           must be in the textfile dir as supplied in raconfig. With this 
  739.           command any file is possible.
  740.  
  741.           If you use the displayanyfile #<var num> syntax, Quesdoor expects
  742.           to find a legal dos filename as contents of that <var num>.
  743.        
  744.          
  745.  
  746.           
  747.           The command: LISTANSWER
  748.           -----------------------
  749.           
  750.           Syntax: ListAnswer <Var num>
  751.           
  752.           Example : ListAnswer 5
  753.           
  754.           Displays (to the screen) the contents of the variable
  755.           <Var num> followed by a CR/LF.
  756.           
  757.  
  758.  
  759.  
  760.           The command: LISTSECURITY
  761.           -------------------------
  762.           
  763.           Syntax: ListSecurity
  764.           
  765.           Example : Display "Your security level is: "
  766.                     Listsecurity
  767.           
  768.           Displays (to the screen) the users security level.
  769.           
  770.           
  771.           
  772.           
  773.           
  774.           The command: LISTTIMELEFT
  775.           -------------------------
  776.           
  777.           Syntax: ListTimeLeft
  778.           
  779.  
  780. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 13
  781.  
  782.  
  783.           Example : Display "Your time remaining is: "
  784.                     ListTimeLeft
  785.                     Display " minutes.|"
  786.           
  787.           Displays (to the screen) the users time remaining for this call.
  788.           
  789.  
  790.  
  791.  
  792.           The command: LISTFLAGS
  793.           ----------------------
  794.  
  795.           Syntax: Listflags <flagset> or
  796.                   Listflags All
  797.  
  798.          
  799.           Example: Display "Your A3 is now set to: "
  800.                    Listflags A3
  801.  
  802.           This command will display 'ON' or 'OFF' according to the users
  803.           flag setting. When the keyword ALL is used, all the users flags
  804.           will be displayed (on one line).
  805.           
  806.           
  807.           
  808.  
  809.           The command: OUTPUT
  810.           -------------------
  811.           
  812.           Syntax: Output "<Descriptor> [#<var num>[L/R<fixed length>]]"
  813.           [filename.ext]
  814.      
  815.           
  816.           Output is a very powerful command! It will send the text
  817.           between the " " to the screen, or if you specify a filename
  818.           at the end, it will send the text to a filename.
  819.           
  820.           Example 1: OUTPUT "hello"
  821.           
  822.           This will display 'hello' to the screen.
  823.           
  824.           Example 2: OUTPUT "hello" QUESDOOR.ASW
  825.           
  826.           This will write the line 'hello' to the filename quesdoor.asw.
  827.           
  828.           Within the " " you can use variable numbers, as long as you
  829.           start that variable number with a #, and end it with a space.
  830.           
  831.           Example 3: OUTPUT "hello #1 how are you doing ?"
  832.           
  833.           This will echo 'hello Ron how are you doing ?' to the screen,
  834.           provided that the contents of var num 1 is 'Ron'.
  835.           
  836.           If you want, you can preformat the length of the variable to
  837.           a specific length when you specify the length right after the
  838.           variable number. Also you then have to specify how your
  839.           variable contents has to be formatted: To the Left or to Right.
  840.           
  841.           Example 4: OUTPUT "hello #1L10 how are you doing ?"
  842.           
  843.           This will echo 'hello Ron        how are you doing ?' to the
  844.           screen, provided that the contents of var num 1 is 'Ron'.
  845.  
  846.  
  847. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 14
  848.  
  849.   
  850.           Example 5: OUTPUT "hello #1R10 how are you doing ?"
  851.           
  852.           This will echo 'hello        Ron how are you doing ?' to the
  853.           screen, also provided that the contents of var num 1 is 'Ron'.
  854.           
  855.           
  856.           
  857.           
  858.           The command: DELETE
  859.           -------------------
  860.           
  861.           Syntax: Delete <filename>
  862.           
  863.           Example : Delete new.asw
  864.           
  865.           Deletes a file on disk in the current dir. If the file does
  866.           not exist there will be an error message displayed (only) on
  867.           the local console. This command is useful when you want to
  868.           delete the filename.ASW file which is automaticly created on
  869.           quesdoor's start.
  870.           
  871.          
  872.  
  873.  
  874.           
  875.           The command: POSTINFO
  876.           ---------------------
  877.           
  878.           Syntax: PostInfo
  879.           
  880.           Example : PostInfo
  881.           
  882.           Outputs the user's name and date and time to the answer file.
  883.           This command is useful in your newuser questionnaire, before
  884.           the actual answers from the user are printed.
  885.           
  886.           Some programs use the output of this command (starting with
  887.           **) to find the answers of one particular user.
  888.           
  889.           
  890.           
  891.           
  892.           
  893.           The command: OUTPUTANSWER
  894.           -------------------------
  895.           
  896.           Syntax: OutputAnswer "<Descriptor>" [Var num]
  897.           
  898.           Example : OutputAnswer "Hobbies  : " 6
  899.           
  900.           Outputs <Descriptor> optionally followed by the contents
  901.           of the variable <Var num> to the questionnaire answer file.
  902.           The answer file is given the same name as the questionnaire
  903.           file but has an extension of .ASW.
  904.           
  905.           
  906. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 15
  907.  
  908.  
  909.           The command: OUTPUTLOG
  910.           ----------------------
  911.           
  912.           Syntax: OutPutLog "<String>"
  913.           
  914.           Example : Outputlog "Just entered quesdoor!"
  915.           
  916.           The Outputlog command prints <String> in the Ra logfile in
  917.           the current dir (in Frontdoor style). If quesdoor cannot
  918.           find the logfile, a new logfile will be created.
  919.           
  920.           
  921.           
  922.           
  923.           The command: RANDOM
  924.           -------------------
  925.           
  926.           Syntax: Random <Max value> <Var Num>
  927.           
  928.           Example : Random 10 1
  929.           
  930.           In the above example, the variable number 1 is filled with
  931.           a random number between 1 and 10.  Nice for a small guess
  932.           game...
  933.           
  934.           
  935.           
  936.           
  937.           
  938.           The command: SETDATAPHONE
  939.           -------------------------
  940.           
  941.           Syntax: SetDataphone <Var num>
  942.           
  943.           Example : Setdataphone 2
  944.           
  945.           Stores the contents of <var num> into the dataphone data field
  946.           of users.bbs. If the contents of <var num> is longer than 12
  947.           characters, it will be truncated to 12 characters. (But better
  948.           is to make sure users can't fill in a longer phonenumber than 12
  949.           characters).
  950.           
  951.           
  952.           
  953.           
  954.           
  955.           The command: SETFLAG
  956.           --------------------
  957.           
  958.           Syntax: SetFlag <Flag set><Flag number> <ON|OFF>
  959.           
  960.           Example : SetFlag C3 OFF
  961.           
  962.           Turns a specified user flag on or off. <Flag set> is "A",
  963.           "B", "C" or "D", and <Flag number> is a number between one and
  964.           eight.
  965.           
  966.           
  967. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 16
  968.  
  969.  
  970.           The command: SETHOMEPHONE
  971.           -------------------------
  972.           
  973.           Syntax: SetHomephone <Var num>
  974.           
  975.           Example : Sethomephone 2
  976.           
  977.           Stores the contents of <var num> into the homephone data field
  978.           of users.bbs. If the contents of <var num> is longer than 12
  979.           characters, it will be truncated to 12 characters. (But better
  980.           is to make sure users can't fill in a longer phonenumber than 12
  981.           characters).
  982.           
  983.  
  984.           
  985.           
  986.           The command: SETLEVEL
  987.           ---------------------
  988.           
  989.           Syntax: SetLevel <var num>
  990.           
  991.           Example : Setlevel 1
  992.           
  993.           Simply sets the user's security level to the contents of
  994.           variable number one (in this example). If the contents of
  995.           <var num> cannot be converted to a user's security level
  996.           (for example if the contents of <var num> contain letters)
  997.           then the security level will remain the same.
  998.           
  999.           
  1000.           
  1001.           
  1002.           
  1003.           The command: SETPARAM
  1004.           ---------------------
  1005.           
  1006.           Syntax: SetParam <param num> <Var num>
  1007.           
  1008.           Example : SetParam 1 10
  1009.           
  1010.           The above example stores the first parameter given at the
  1011.           start of Quesdoor in variable number 10. So, if you started
  1012.           Quesdoor like 'Quesdoor.exe test' to start the test
  1013.           questionnaire, and you use above example, after the command
  1014.           is executed, variable number 10 will have 'test' as contents.
  1015.           Of course you could supply extra parameters, like the *1
  1016.           which Ra replaces with the current message template number,
  1017.           or just any number or word. If you start Quesdoor like
  1018.           'Quesdoor.exe test *1' with a type 7 in RA, after executing
  1019.           the command 'SetParam 2 10' in the test questionnaire, variable
  1020.           number 10 will contain the current message template area number.
  1021.           
  1022.           Note: *1 is a new type 7 command-line parameter, it will be
  1023.                 replaced by RA to the current message template area
  1024.                 number.
  1025.           
  1026.          
  1027. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 17
  1028.  
  1029.  
  1030.  
  1031.           The command: SETSECURITY
  1032.           ------------------------
  1033.           
  1034.           Syntax: SetSecurity [+/-]<Security level>
  1035.           
  1036.           Example 1: SetSecurity 10
  1037.           
  1038.           When this command is used, it will set the user's security
  1039.           level to the number specified. (In this example, the level
  1040.           will be set to 10). The level may be any number from 0 to
  1041.           32,000.
  1042.           
  1043.           
  1044.           Example 2: SetSecurity +1
  1045.           
  1046.           If a user had level 100, his level will be 101 after this
  1047.           command is executed. If a user had level 10, his level
  1048.           will be 11.
  1049.           The same counts for "Setsecurity -10", if a user had level
  1050.           100, he now has level 90.  If he had level 10, he will now
  1051.           have level 1. (this command is programmed not to go below
  1052.           level 1, if you want level 0 use "Setsecurity 0")
  1053.           
  1054.           
  1055.           
  1056.           
  1057.           
  1058.           The command: SETTIME
  1059.           --------------------
  1060.           
  1061.           Syntax: SetTime <+/-><minutes>
  1062.           
  1063.           Example : Settime +10
  1064.           
  1065.           Above example increases the time left with 10 minutes. If
  1066.           a '-' is supplied before <minutes> the time is decreased.
  1067.           The +/- are not optional ! You have to supply either one
  1068.           of them !
  1069.           
  1070.           
  1071.           
  1072.           
  1073.           
  1074.           The command: SETVAR
  1075.           -------------------
  1076.           
  1077.           Syntax: SetVar <Var num> = "<String>"
  1078.                   SetVar <Var num> = <Ext. control code>
  1079.           
  1080.           Example 1: Setvar 2 = "hello"
  1081.           
  1082.           When this command is used, the <String> will be stored into
  1083.           variable number 2.
  1084.           
  1085.           Example 2: Setvar 2 = ^FA
  1086.           
  1087.           When this is used, Quesdoor will store the users full name
  1088.           into the variable number 2. See appendix B for a complete
  1089.           list of all the extended control codes which you can use.
  1090.           
  1091.           
  1092. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 18
  1093.  
  1094.  
  1095.           The command: TOGGLEFLAG
  1096.           -----------------------
  1097.           
  1098.           Syntax: ToggleFlag <Flag set><Flag number>
  1099.          
  1100.           Example : Setflag C3
  1101.           
  1102.           This command will toggle the users flag setting. If in the
  1103.           example the user's C3 flag was ON, it will be toggled OFF,
  1104.           and if it was OFF, it will be ON after this command is
  1105.           executed. It just toggles the mentioned flag to the opposite.
  1106.           
  1107.           
  1108.           
  1109.           
  1110.           
  1111.           The command: ADDVAR
  1112.           -------------------
  1113.           
  1114.           Syntax: Addvar <var1> <var2> [var3]
  1115.           
  1116.           Example : Addvar 1 2 3
  1117.           
  1118.           Only if the contents of the variable numbers are numbers
  1119.           (integers) this declaration is valid.  The above example
  1120.           adds the contains of variable number 1 with variable number
  1121.           2, and stores the result in variable number 3.  So, if
  1122.           <var1> = 1 and <var2> = 3, after the command "Addvar 1 2 3"
  1123.           <var3> will have the value 4. If you don't supply the third
  1124.           variable, the result will be stored in variable number one.
  1125.           
  1126.           
  1127.           
  1128.           
  1129.           
  1130.           The command: MULVAR
  1131.           -------------------
  1132.           
  1133.           Syntax: Mulvar <var1> <var2> [var3]
  1134.           
  1135.           Example : Mulvar 1 2 3
  1136.           
  1137.           Only if both variable numbers contain numbers this declaration
  1138.           is valid. The above example multiplies the contains of
  1139.           variable number 1 with variable number 2, and stores the
  1140.           result in variable number 3. If you don't supply the third
  1141.           variable, the result will be stored in variable number one.
  1142.           
  1143.  
  1144.           
  1145.           
  1146.           
  1147.           The command: SUBVAR
  1148.           -------------------
  1149.           
  1150.           Syntax: Subvar <var1> <var2> [var3]
  1151.           
  1152.           Example : Subvar 1 2 3
  1153.           
  1154.           Only if both variable numbers contain numbers this declaration
  1155.           is valid.  The above example subtracts the contains of
  1156.  
  1157.  
  1158. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 19
  1159.  
  1160.  
  1161.           variable number 1 with variable number 2, and stores the result
  1162.           in variable number 3. If you don't supply the third variable,
  1163.           the result will be stored in variable number one.
  1164.  
  1165.  
  1166.  
  1167.  
  1168.           The command: DIVVAR
  1169.           -------------------
  1170.  
  1171.           Syntax: Divvar <var1> <var2> [var3]
  1172.  
  1173.           Example : Divvar 1 2 3
  1174.  
  1175.           Only if both variable numbers contain numbers this declaration
  1176.           is valid. The above example divides varnum2 through varnum1 and
  1177.           stores the result in variable number 3. IF you don't supply the
  1178.           third variable, the result will be stored in variable number one.
  1179.  
  1180.          
  1181.           
  1182.  
  1183.           The command: PASTVAR
  1184.           --------------------
  1185.                
  1186.           Syntax: Pastvar <var1> <var2> [var3]
  1187.  
  1188.           Example: Pastvar 1 2 3
  1189.  
  1190.           Pastvar paste the contents of two variables together.
  1191.           Assume var1 has 'c:\files\' as contents, and var2 has 'top.ans'
  1192.           as contents. After using the above example var3 will have
  1193.           'c:\files\top.ans' as new contents.
  1194.           If you don't supply the third variable, the result will be stored
  1195.           in variable number one.
  1196.  
  1197.                
  1198. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 20
  1199.       
  1200.     
  1201.           Labels
  1202.           ------
  1203.           
  1204.             One of the best things in Quesdoor is the ability to use
  1205.           labels, almost exactly as you can do in batch files. Together
  1206.           with the gotolabel and gosublabel command, it gives you a very
  1207.           flexible way of programming your questionairs !
  1208.           
  1209.             An label declaration must begin with a ':' and the name must
  1210.           have at least a length of 4 characters. (only the first three
  1211.           characters are sensitive, you may use longer label names, but
  1212.           Quesdoor looks only to the first three.) An label declaration
  1213.           ends with just a ':'.
  1214.           
  1215.           Example:      :Top
  1216.                         display "this is the top label"
  1217.                         :
  1218.           
  1219.           
  1220.           
  1221.           
  1222.           
  1223.           The command: GOTOLABEL
  1224.           ----------------------
  1225.           
  1226.           Syntax: GotoLabel <Label name>
  1227.           
  1228.           Example : GotoLabel TOP
  1229.           
  1230.           When this command is executed, Quesdoor will jump to the :TOP
  1231.           label in the .q-a file as specified with the label command,
  1232.           and from that point continues with the questionnaire.
  1233.           Make sure you test everything before bringing the questionnaire
  1234.           online, because with this command it is very easy to create
  1235.           endless loops, with only angry users as result.
  1236.           
  1237.           
  1238.           
  1239.           
  1240.           
  1241.           The command: GOSUBLABEL
  1242.           -----------------------
  1243.           
  1244.           Syntax: GosubLabel <Label name>
  1245.           
  1246.           Example : Gosublabel TOP
  1247.           
  1248.           When this command is executed, Quesdoor jumps to the :TOP
  1249.           label in the .q-a file, executes the commands within the label
  1250.           until the endlabel (':') is encountered, and then continue
  1251.           normally with the questionnaire.
  1252.  
  1253.           You can nest a gosublabel (declare a gosublabel inside a
  1254.           gosublabel) with a maximum of 10 !
  1255.                     
  1256.  
  1257.           
  1258.           
  1259.           The command: START
  1260.           ------------------
  1261.           
  1262.           Syntax: Start <Questionnaire name> [labelname]
  1263.           
  1264.  
  1265. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 21
  1266.  
  1267.  
  1268.           Example : Start 2EQUES
  1269.           
  1270.           When this command is executed, Quesdoor will terminate the
  1271.           current questionnaire and starts the questionnaire 2eques.q-a
  1272.           (in this example). If you supply the optional [labelname],
  1273.           QUESDOOR starts the new questionnaire at that label.
  1274.           
  1275.           
  1276.           
  1277.           
  1278.           
  1279.           The command: ENDIF
  1280.           ------------------
  1281.           
  1282.           Syntax: EndIf
  1283.           
  1284.           Example : If 1 = "Q"
  1285.                     GosubLabel dosomething
  1286.                     EndIf
  1287.           
  1288.           Signifies the end of an IF statement. Whenever you use an
  1289.           IF command, you must specify an ENDIF statement to let Quesdoor
  1290.           know it can end the IF command.
  1291.           
  1292.           
  1293.           
  1294.           
  1295.           
  1296.           The command: ENDNOTIF
  1297.           ---------------------
  1298.           
  1299.           Syntax: EndNotIf
  1300.           
  1301.           Example : Ifnot 1 = "Q"
  1302.                     Gosublabel dosomething
  1303.                     EndNotIf
  1304.           
  1305.           Signifies the end of an IFNOT statement. Whenever you use an
  1306.           IFNOT command, you must specify an ENDNOTIF statement to let
  1307.           Quesdoor know it can end the IFNOT command.
  1308.           
  1309.           
  1310.           
  1311.           
  1312.           The command: IF
  1313.           ---------------
  1314.           
  1315.           Syntax: If <Var num>   =   "<String>"
  1316.                   If <Var num1>  =   <Var num2>
  1317.                   If <Var num1>  >   <Var num2>
  1318.  
  1319.           Example 1: If 5 = "Perth"
  1320.           
  1321.           The  IF  command compares the contents of the specified
  1322.           variable number with <String>. If the two do not match,
  1323.           then all following lines are skipped until an ENDIF statement
  1324.           is encountered. You must end an IF statement with an ENDIF
  1325.           before executing a new IF statement (with other words, IF's
  1326.           cannot be nested).
  1327.           
  1328.           Example 2: If 1 = 2
  1329.  
  1330.  
  1331. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 22
  1332.  
  1333.           
  1334.           This is an other way of using the IF command. With this way
  1335.           the IF command compares the contents of variable number 1 with
  1336.           variable number 2. If the two do not match, then all following
  1337.           lines are skipped until an ENDIF statement is encountered.
  1338.           
  1339.           WARNING: Following example only works if the contents of the
  1340.           used variabelen are numbers (integers)
  1341.           
  1342.           Example 3: If 1 > 2
  1343.           
  1344.           This is also possible. If the value of variable number 1 is
  1345.           bigger than the value of variable number 2 than all following
  1346.           lines are executed until an ENDIF statement is encountered. If
  1347.           the value of variable number 1 is smaller (in this example)
  1348.           than the value of variable number 2 than all lines are
  1349.           skipped.
  1350.           
  1351.           The operator (the third word) can be: '=', '<', '>', '>=',
  1352.           '<=' and '<>'.
  1353.           
  1354.           
  1355.           
  1356.           
  1357.           
  1358.           The command: IFNOT
  1359.           ------------------
  1360.           
  1361.           Syntax: Ifnot <var num>  =  "<string>"
  1362.                   Ifnot <var num1> =  <var num2>
  1363.                   Ifnot <var num1> >  <var num2>
  1364.           
  1365.           Example 1: Ifnot 5 = "Perth"
  1366.           
  1367.           (read this as: If variable 5 is not equal to "Perth" then...)
  1368.           
  1369.           The IFNOT command is the opposite of the IF command. The
  1370.           IFNOT command compares the contents of the specified
  1371.           variable number with <String>. If the two do match, then
  1372.           all following lines are skipped until an ENDNOTIF statement
  1373.           is encountered. You must end an IFNOT statement with ENDNOTIF
  1374.           before executing a new IFNOT statement. (With other words:
  1375.           IFNOT's cannot be nested)
  1376.           
  1377.  
  1378.           Example 2: Ifnot 1 = 2
  1379.          
  1380.           The IFNOT command in this example compares the contents of
  1381.           variable number 1 with variable number 2. If the two do match,
  1382.           then all following lines are skipped until an ENDNOTIF
  1383.           statement is encountered.  As operator (the third word) are
  1384.           also possible: '<', '>', '<=', '>=' and '<>', but it's better
  1385.           to use the If and Endif statements, those are easier to use.
  1386.           
  1387.           
  1388.           
  1389.           
  1390.           
  1391.           The command: CHECKPHONE
  1392.           -----------------------
  1393.           
  1394.           Syntax: CheckPhone <Var num> <Result Var>
  1395.           
  1396.  
  1397. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 23
  1398.  
  1399.  
  1400.           This command will check the phonenumber of a new user with
  1401.           the phone numbers of the users in the database. <Var num>
  1402.           must contain the phonenumber of the new user. If somebody
  1403.           in the users base has the phone number which is in <var num>,
  1404.           the result var will have a value of '1', if the phonenumber
  1405.           is not found <result var> has the value of '0'.
  1406.           
  1407.           Example: :number
  1408.                    Display "Please enter your phonenumber :"
  1409.                    Ask 12 1
  1410.                    Display "Checking phone numbers....|"
  1411.                    CheckPhone 1 2
  1412.                    If 2 = "1"
  1413.                      Display "This phonenumber is invalid....|"
  1414.                      gotolabel number
  1415.                    endif
  1416.                    if 2 = "0"
  1417.                      Display "Correct...|"
  1418.                    endif
  1419.           
  1420.           This command will check both the homephone and dataphone field
  1421.           in your users bbs. If the supplied phonenumber in <var num>
  1422.           is present in either one of them <result var> will contain a '1'.
  1423.           
  1424.           So don't use this command if you allow more than one family
  1425.           member as member, or if you allow two people from the same
  1426.           company as a member (because they probably use the same
  1427.           dataphonenumber, and <result var> will return a '1'.
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.           The command: READFLAG
  1434.           ---------------------            
  1435.  
  1436.           Syntax: READFLAG <flagset> <var num>
  1437.  
  1438.           Example: Readflag a8 1
  1439.  
  1440.           This command can be used to determine if a certain flag of the 
  1441.           user is set to on or off. After the command is executed, 
  1442.           <var num> will have an contents of 'ON' or 'OFF' according to
  1443.           the <flagset> you supply. (In this example the A8 flag).
  1444.  
  1445.           
  1446.  
  1447.  
  1448.           The command: READSECURITY
  1449.           -------------------------
  1450.  
  1451.           Syntax: Readsecurity <var num>
  1452.  
  1453.           Example: Readsecurity 1
  1454.  
  1455.           This command can be used to determine what security level the
  1456.           user has on the bbs. After the command is executed <var num>
  1457.           (in this example variable number 1) will have the security 
  1458.           level as contents.
  1459.  
  1460.  
  1461. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 24
  1462.  
  1463.  
  1464.           The command: READANSI 
  1465.           ---------------------
  1466.  
  1467.           Syntax: Readansi <var num>
  1468.           Example: Readansi 1
  1469.  
  1470.           This command can be used to determine if the current user on
  1471.           the bbs has the ansi flag enabled. After the command is executed
  1472.           <var num> will have an contents of 'ON' or 'OFF' according to
  1473.           the ansi bit in users.bbs. (in this example var number 1)
  1474.  
  1475.  
  1476. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 25
  1477.  
  1478.  
  1479.           The DATABASE concept:
  1480.           ---------------------
  1481.  
  1482.             Quesdoor has the ability to store the contents of variable 
  1483.           numbers in special databases. The contents of the variables
  1484.           can be stored in databases so that it is possible to reload
  1485.           them back in in another questionnaire!
  1486.  
  1487.             With this it is for example possible to make an advanced
  1488.           newuser questionnaire and store the users answers in databases.
  1489.           When some data of the user changes he can restart the ques-
  1490.           tionaire, the questionnaire reloads his answers, and the user
  1491.           can change the data instead of answering all the questions
  1492.           again.
  1493.  
  1494.             In every database you can only write one contents of a
  1495.           variable. If you want to store more variable numbers, you
  1496.           must create more databases. The <database name> in the commands
  1497.           may be any valid dos name and path, but without extension!
  1498.           Quesdoor will use '.QDB' as extension for any database.
  1499.  
  1500.             If the database(s) become huge, the speed to load the data
  1501.           will become slower. To speed things up, you can index the 
  1502.           database(s) with the INDEXER.EXE program in the DATABASE.ZIP
  1503.           package which came with Quesdoor. Just run this program in
  1504.           your nightly event and see the speed increasing.
  1505.  
  1506.             The following commands will make your life easier when wor-
  1507.           king with the database functions:
  1508.  
  1509.  
  1510.          
  1511.           The command: WRITEDATA
  1512.           ----------------------
  1513.  
  1514.           Syntax: Writedata <database name> <var num>
  1515.  
  1516.           Example: Writedata test 1
  1517.  
  1518.           This command will create a database with 'test.qdb' (in this
  1519.           example) in your messagebase directory, and writes the contents
  1520.           of var number 1 to that database. If a user had already data
  1521.           in the database, the contents of <var num> will overwrite the
  1522.           previous data.
  1523.           The maximum length the contents of the variable may have is 80
  1524.           characters, if the contents is longer, it will be truncated.
  1525.  
  1526.  
  1527.  
  1528.  
  1529.           The command: LOADDATA
  1530.           ---------------------
  1531.         
  1532.           Syntax: Loaddata <database name> <var num>
  1533.  
  1534.           Example: Loaddata test 1
  1535.  
  1536.           This command will try to load data from the database 'test.qdb'
  1537.           (only in this example) into variable number 1. If a user has
  1538.           no data from him in the database the contents of var number 1
  1539.           will be empty.               
  1540.  
  1541.  
  1542. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 26
  1543.  
  1544.  
  1545.           The command: CHECKDATA
  1546.           ----------------------
  1547.     
  1548.           Syntax: Checkdata <database name> <var num>
  1549.  
  1550.           Example: Checkdata test 1
  1551.  
  1552.           With this command you can check if the user already has data in
  1553.           the database.
  1554.           If the user has data in the database, the contents of <var num>
  1555.           will be a '1' after the check, otherwise it will have a '0' as
  1556.           contents.
  1557.  
  1558.  
  1559. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 27
  1560.  
  1561.  
  1562.           The VOTEDOOR concept:
  1563.           ---------------------
  1564.           
  1565.             Whenever you use one of the votedoor commands, quesdoor will
  1566.           make a *.vot file in your messagebase dir. This file contains
  1567.           all the data votedoor uses, including the percentage of voting
  1568.           every question gets, and who already voted... This file will
  1569.           not exceed 40 K.
  1570.           
  1571.             If you (as a sysop) find offending questions in the database
  1572.           you can use DELVOTE.EXE to delete a particular question in the
  1573.           database. DELVOTE.EXE can be found in the votedoor.zip package
  1574.           included in the release archive from Quesdoor.
  1575.           The syntax is DELVOTE <vote database name>, and the program will
  1576.           show every question, and asks you if it has to delete it.
  1577.           
  1578.             There is a hard-coded maximum of 19 questions in one votedoor
  1579.           database.  When there are 19 questions in the database, and a
  1580.           user tries to add a new question, the oldest in the database
  1581.           will be deleted.  When you want more than 19 questions, you
  1582.           can always use a extra voting database under an other name.
  1583.           
  1584.             In the votedoor.zip package you will find a ready-to-go
  1585.           voting door. To install it, simply make a menutype 7 in one
  1586.           of your menus with as optional data "C:\ra\utils\quesdoor.exe
  1587.           votedoor". The lay-out and the colours of that voting door are
  1588.           coded in the questionnaire itself. If you don't like it, feel
  1589.           free to modify it to your own needs...
  1590.           
  1591.           
  1592.           
  1593.           
  1594.           
  1595.           The command: ASKQUESTION
  1596.           ------------------------
  1597.           
  1598.           Syntax: Askquestion <database name>
  1599.           
  1600.           Example: Askquestion votedoor
  1601.           
  1602.           In the above example a votedoor.vot database (containing a
  1603.           maximum of 19 questions = around 40K) will be created in your
  1604.           message dir. The user will be asked to enter a question and
  1605.           answers for the voting door.  A minimum of 2 answers is
  1606.           required (maximum of 5). When a empty answer is given the
  1607.           question will be stored into the database.
  1608.           
  1609.           
  1610.           
  1611.  
  1612.  
  1613.  
  1614.           The command: SHOWANSWER
  1615.           -----------------------
  1616.           
  1617.           Syntax: Showanswer <database name> <question number>/<#var num>
  1618.          
  1619.           Example 1: Showanswer votedoor 2
  1620.           
  1621.           When this is used, quesdoor will show the 5 answers with the
  1622.           percentage of voting from question number 2 in the votedoor
  1623.           database, and continues with the next command in the
  1624.  
  1625.  
  1626. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 28
  1627.  
  1628.  
  1629.           questionnaire.  This command is not used in the sample
  1630.           votedoor.q-a.
  1631.           
  1632.           Example 2: Showanswer votedoor #2
  1633.           
  1634.           And with this the contents of variable number 2 will be
  1635.           translated into the answernumber to display.
  1636.           
  1637.           
  1638.           
  1639.           
  1640.           
  1641.           The command: SHOWQUESTION
  1642.           -------------------------
  1643.           
  1644.           Syntax: ShowQuestion <database name> [question number]/[#var num]
  1645.           
  1646.           Example 1: Showquestion votedoor
  1647.           
  1648.           In the above example all the questions in the votedoor database
  1649.           will be displayed to the user (the newest first), and continues
  1650.           with the next command in the questionnaire (should be a "press
  1651.           enter" prompt).
  1652.           
  1653.           Example 2: Showquestion votedoor 2
  1654.           
  1655.           With this, only the second question in the database will be
  1656.           displayed.
  1657.           
  1658.           Example 3: Setvar 2 = "3"
  1659.                      Showquestion votedoor #2
  1660.           
  1661.           And with this, the contents of variable number 2 will be used to
  1662.           find out which question it has to display. In this example the
  1663.           contents of the variable is 3, so question number 3 is displayed
  1664.           only.
  1665.           
  1666.           Before you invoke this command, you can set the display colour
  1667.           for ansi users with the CHANGECOLOR command.
  1668.           
  1669.           
  1670.  
  1671.  
  1672.           
  1673.           
  1674.           
  1675.           The command: VOTEQUESTION
  1676.           -------------------------
  1677.           
  1678.           Syntax: Votequestion <database name> [question number]/[#var num]
  1679.           
  1680.           Example 1: Votequestion votedoor
  1681.           
  1682.           In the above example every question in the votedoor database
  1683.           will be shown to the user with the answers, the percentage of
  1684.           voting, and the user who posted the question. After every
  1685.           question the user is prompted for a vote. Enter will bring
  1686.           him to the next question, and Q will continue with the next
  1687.           command in the questionnaire.
  1688.           
  1689.           Example 2: Votequestion votedoor 2
  1690.           
  1691.  
  1692. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 29
  1693.  
  1694.  
  1695.           In this example only question number 2 will be shown to the
  1696.           user. The question with the answers will be shown, but not the
  1697.           percentage of voting. The user has to vote on the question,
  1698.           enter or "q" will not work.  Before you invoke this command,
  1699.           you can set the display colour for ansi users with the
  1700.           CHANGECOLOR command.
  1701.           
  1702.           Example 3: Votequestion votedoor #2
  1703.           
  1704.           In this example the contents of variable number 2 will be
  1705.           translated into the question it has to display and let the
  1706.           user vote on.
  1707.           
  1708.  
  1709. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 30
  1710.       
  1711.     
  1712.           The TIMEBANK concept:
  1713.           ---------------------
  1714.           
  1715.             The timebank commands will turn Quesdoor in a complete
  1716.           banking system. Whenever you use one of these timebank
  1717.           commands, quesdoor will make a quesbank.dat file in your
  1718.           messagebase directory.  This file contains all the data
  1719.           the timebank uses.
  1720.           
  1721.             In the timebank.zip package you will find a ready-to-go
  1722.           timebank door. To install it, simply make a menutype 7 in
  1723.           one of your menus with as optional data
  1724.           "C:\ra\utils\quesdoor.exe timebank". The lay-out and the
  1725.           colours of that timebank door are coded in the questionnaire
  1726.           itself. If you don't like it, feel free to modify it to your
  1727.           own needs...
  1728.           
  1729.           
  1730.           
  1731.           
  1732.           
  1733.           The command: BORROWTIME
  1734.           -----------------------
  1735.           
  1736.           Syntax: Borrowtime <max time a user can borrow> [interest]
  1737.           
  1738.           Example: Borrowtime 30 10
  1739.           
  1740.           Whenever this command is used the user will be prompted with
  1741.           how much time he wants to lend from the bank. (In this example
  1742.           a user can borrow a maximum of 30 minutes).
  1743.           
  1744.           In this example the optional [interest] is specified at 10%.
  1745.           If a user loans 30 minutes, he has to pay back an additional
  1746.           10 percent extra. (so 33 minutes)
  1747.           
  1748.           A user can only loan once, after that, every deposit he makes
  1749.           will be directly transferred in paying off his dept. After
  1750.           paying of his dept completely, the user can borrow again, or
  1751.           just deposit in his account to save for later use.
  1752.           
  1753.           
  1754.           
  1755.           
  1756.           The command: BUYTICKET
  1757.           ----------------------
  1758.           
  1759.           Syntax: Buyticket <price ticket> <max> <total> <price>
  1760.           
  1761.           <price ticket> = The price one single ticket costs.
  1762.           <max>          = The maximum amount of tickets one
  1763.                            person can buy.
  1764.           <total>        = The total amount of tickets which
  1765.                            have to be sold before a lucky
  1766.                            winner is picked.
  1767.           
  1768.           
  1769.  
  1770.           <price>        = Is the price in minutes the holder
  1771.                            of the winning ticket gets in his
  1772.                            account.
  1773.           
  1774.  
  1775. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 31
  1776.  
  1777.  
  1778.           Example: Buyticket 5 2 15 60
  1779.           
  1780.           With this command the user will be prompted if he wants to
  1781.           buy a lottery ticket. In the above example the tickets cost
  1782.           5 minutes each, and a user can buy a maximum of 2 tickets.
  1783.           
  1784.           When there are 15 tickets sold (in this example) a lucky
  1785.           winner will be picked automaticly. The winner will receive
  1786.           60 minutes in his account, and all sold tickets are invalid.
  1787.           
  1788.           Needless to say that if a user has not enough time in his
  1789.           account that quesdoor will refuse the buy of the ticket.
  1790.           
  1791.           
  1792.           
  1793.           
  1794.           
  1795.           The command: DEPOSTIME
  1796.           ----------------------
  1797.           
  1798.           Syntax: Depostime [max in account]
  1799.           
  1800.           Example: Depostime 120
  1801.           
  1802.           When this command is used, the user is prompted on how much
  1803.           time he wants to deposit in his account. That amount will be
  1804.           subtracted from his time left for this session and will be
  1805.           stored in his account.
  1806.           
  1807.           When the optional [max in account] is specified, the users
  1808.           can't have more time stored in his account than that amount,
  1809.           and quesdoor will refuse to deposit more.
  1810.           
  1811.           
  1812.           
  1813.           
  1814.           
  1815.           The command: REDRAWTIME
  1816.           -----------------------
  1817.           
  1818.           Syntax: Redrawtime
  1819.           
  1820.           Example: Redrawtime
  1821.           
  1822.           This command will prompt the user on how much time he wants to
  1823.           redraw from his account. That amount is subtracted from his
  1824.           account, and the user will have that more time left for this
  1825.           session.
  1826.  
  1827.           Quesdoor will monitor your events, so a user is not allowed
  1828.           to redraw time over your next system event.
  1829.          
  1830.  
  1831.           
  1832.           
  1833.           The command: ROBBANK
  1834.           --------------------
  1835.           
  1836.           Syntax: Robbank <percentage>
  1837.           
  1838.           Example: Robbank 50
  1839.           
  1840.  
  1841. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 32
  1842.  
  1843.  
  1844.           When this command is used, the user has the option of robbing
  1845.           the bank! There is a (hardcoded) 10% change that the user
  1846.           actually succeeds with this robbery, and than the user gets
  1847.           (in this example) 50% of the amount stored in all accounts.
  1848.           
  1849.           When the robbery succeeds, the robber gets the <percentage>
  1850.           of the amount stored in all accounts. Everyone who has an
  1851.           account will be notified who the robber was, and how much
  1852.           they lost.
  1853.           
  1854.           When the robbery fails, the robber looses his account at the
  1855.           bank, as well as all his time left for this day at the bbs!
  1856.           
  1857.           
  1858.           
  1859.           
  1860.           
  1861.           The command: SHOWACCOUNT
  1862.           ------------------------
  1863.           
  1864.           Syntax: Showaccount
  1865.           
  1866.           Example: Showaccount
  1867.           
  1868.           When this command is used, the data of the timebank account
  1869.           for the user (who is in quesdoor) will be shown, including
  1870.           time in account, account number, account name, borrowed time
  1871.           and amount of lottery tickets.
  1872.           
  1873.           When someone robbed the bank, the user is notified, and the
  1874.           robber's name is shown, including the lost time.  When someone
  1875.           transferred time into this users account, the user will also be
  1876.           notified. After notification this particular data will be
  1877.           cleared.
  1878.           
  1879.           The best thing you could do is to use this command just after
  1880.           someone enters the timebank, so he sees the changes made in his
  1881.           account (if any).
  1882.           
  1883.           
  1884.           
  1885.           
  1886.           The command: SHOWCLIENTS
  1887.           ------------------------
  1888.           
  1889.           Syntax: Showclients
  1890.  
  1891.           Example: Showclients
  1892.           
  1893.           Whenever this command is used, quesdoor will report the total
  1894.           amount of time in the bank, the total amount of lottery tickets
  1895.           already sold, and gives a report of all the accounts in the
  1896.           bank, including name and time.
  1897.           
  1898.           
  1899.           
  1900.           
  1901.           
  1902.           The command: TRANSTIME
  1903.           ----------------------
  1904.           
  1905.           Syntax: TransTime
  1906.  
  1907.  
  1908. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 33
  1909.  
  1910.           
  1911.           Example: Transtime
  1912.           
  1913.           This command is useful when you want to give your users the
  1914.           opportunity to transfer some of their time to a friend's
  1915.           account. The user is prompted for an accountname, and if that
  1916.           accountname exists, the user will be prompted on how many
  1917.           minutes he wants to transfer from his account to the other.
  1918.           
  1919.           The user who gets the transferred time will be notified the
  1920.           next time when he uses the SHOWACCOUNT command.
  1921.           
  1922.  
  1923.  
  1924.  
  1925.           ED_BANK.EXE
  1926.           -----------
  1927.           
  1928.             Ed_bank.exe is a small utility to edit the quesbank.dat file
  1929.           which Quesdoor uses to store the data for the timebank. Start
  1930.           this util in the directory where your quesbank.dat file resists.
  1931.           Ed_bank will let you edit and delete users records in the 
  1932.           quesbank.dat file, and works very simple. No help needed.
  1933.  
  1934.  
  1935. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 34
  1936.           
  1937.           
  1938.           The command: BEEP
  1939.           -----------------
  1940.           
  1941.           Syntax: Beep
  1942.           
  1943.           Example : Beep
  1944.           
  1945.           Produces a beep on local and the caller's console, and
  1946.           continues with the next command in the questionnaire.
  1947.           
  1948.           
  1949.           
  1950.           
  1951.           
  1952.           The command: HALT
  1953.           -----------------
  1954.           
  1955.           Syntax: Halt <errorlevel>
  1956.           
  1957.           Example :  Halt 10
  1958.           
  1959.           Terminates the questionnaire with errorlevel <errorlevel> and
  1960.           returns to bbs or batchfile.
  1961.           
  1962.           
  1963.           
  1964.           
  1965.           
  1966.           The command: PAUSE
  1967.           ------------------
  1968.           
  1969.           Syntax: Pause <seconds>
  1970.           
  1971.           Example : Pause 10
  1972.           
  1973.           Pauses 10 seconds (in this example), and than continue
  1974.           normally with the next command in the questionnaire.
  1975.           
  1976.           
  1977.           
  1978.           
  1979.           
  1980.           The command: QUIT
  1981.           -----------------
  1982.           
  1983.           Syntax: Quit
  1984.           
  1985.           Example : Quit
  1986.           
  1987.           Terminates the questionnaire and returns to the BBS.
  1988.      
  1989.  
  1990.  
  1991.  
  1992.  
  1993.           
  1994.           
  1995.           The command: RUN
  1996.           ----------------
  1997.           
  1998.           Syntax: Run <path + filename.ext> [control codes] [string]
  1999.           
  2000.       
  2001. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 35
  2002.  
  2003.  
  2004.           Example : Run c:\ra\utils\rur_door.exe *B c:\test.ctl *F
  2005.           
  2006.           This command will run an external program in a shell while the
  2007.           user is online.  The path + full name of the program must be
  2008.           specified. A batchfile would be no problem.
  2009.           
  2010.           Many programs require extra information to be passed on the
  2011.           command line, so the following control codes may be used. In
  2012.           each case, the code is replaced by it's value:
  2013.           
  2014.                   *B : User's baud rate, or 0 if local
  2015.                   *F : User's first name
  2016.                   *G : Ansi graphics, 0=off,1=on
  2017.                   *H : Normally the fossil is de-initialised before
  2018.                        running an external program to avoid any possible
  2019.                        conflicts between the Fossil and the program.
  2020.                        Specifying this parameter leaves the fossil "hot"
  2021.                        or active (required with quicked.exe).
  2022.                   *L : User's last name
  2023.                   *T : Time remaining for current call.
  2024.                   *M : Swap Quesdoor to Ems or disk to free up memory.
  2025.           
  2026.           Besides this command line information that can be
  2027.           passed, Quesdoor will leave Dorinfo1.def and Exitinfo.bbs
  2028.           intact, so the calling program still can use them.
  2029.           
  2030.           Note that the external program must do its own time limit and
  2031.           carrier detect watchdogging, in the event that the user does
  2032.           not exit from the program correctly.  Note also that it is
  2033.           impossible to start a second quesdoor in the same dir.
  2034.  
  2035.           In order to keep compatible with the questionnaire command
  2036.           language the RUN keyword can be replaced by the EXEC keyword.      
  2037.  
  2038.             
  2039. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 36
  2040.  
  2041.  
  2042.           CONTROL CODES
  2043.           -------------
  2044.           
  2045.           
  2046.             You can use  extended codes in your ascii/ansi files
  2047.           exactly as you are used to in RemoteAccess. When, during a
  2048.           DISPLAYFILE command, the interpreter encounters such a code,
  2049.           a special user or system parameter is inserted. The following
  2050.           codes are validate in your files:
  2051.           
  2052.           
  2053.           
  2054.                        Character
  2055.                ASCII#  Combination  Purpose
  2056.                ------  -----------  -------
  2057.                01      ^A           Wait until the [return] key is pressed
  2058.                02      ^B           Disable aborting with the 'S' key
  2059.                03      ^C           Enable aborting with the 'S' key
  2060.                04      ^D           Enable the 'Continue' prompt
  2061.                05      ^E           Disable the 'continue' prompt
  2062.                06      ^F        *  Insert a user parameter
  2063.                07      ^G           Produce a beep on the caller's console
  2064.                08      ^H           Backspace
  2065.                09      ^I           Tab (forward cursor 8 characters)
  2066.                10      ^J           Linefeed
  2067.                11      ^K        *  Insert a system parameter
  2068.                12      ^L           Clear Screen
  2069.                13      ^M           Carriage return
  2070.                16      ^P           Pause for one second
  2071.                24      ^X        %  Execute a program in a DOS shell
  2072.                    
  2073.           
  2074.           
  2075.                        * User Parameter Codes
  2076.                        ----------------------
  2077.           
  2078.           
  2079.                       Character
  2080.               ASCII#  Combination Information inserted
  2081.               ------  ----------- --------------------
  2082.                65      ^FA        Users full name
  2083.                66      ^FB        Location
  2084.                67      ^FC        Password
  2085.                68      ^FD        Business/Data phone number
  2086.                69      ^FE        Voice/Home phone number
  2087.                70      ^FF        Date of last call
  2088.                71      ^FG        Time of last call
  2089.                72      ^FH        A Flags setting
  2090.                73      ^FI        B Flags setting
  2091.                74      ^FJ        C Flags setting
  2092.                75      ^FK        D Flags setting
  2093.                76      ^FL        NetMail credit remaining (cents)
  2094.                77      ^FM        Total messages posted
  2095.                78      ^FN        Last message read
  2096.                79      ^FO        Security level
  2097.                80      ^FP        Total calls to the BBS
  2098.                81      ^FQ        Number of uploads
  2099.                82      ^FR        Kilobytes of uploads
  2100.                83      ^FS        Number of downloads
  2101.                84      ^FT        Kilobytes of downloads
  2102.                85      ^FU        Minutes used today
  2103.                86      ^FV        Current screen length
  2104.  
  2105.  
  2106. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 37
  2107.  
  2108.  
  2109.                87      ^FW        First name only
  2110.                88      ^FX        ANSI setting (ON/OFF)
  2111.                89      ^FY        "Continue?" prompt setting (ON/OFF)
  2112.                90      ^FZ        Screen clearing (ON/OFF)
  2113.                48      ^F0        Full screen editor (ON/OFF)
  2114.                49      ^F1        Quiet/do not disturb mode (ON/OFF)
  2115.                50      ^F2        Hot-Keys (ON/OFF)
  2116.           
  2117.           
  2118.           
  2119.           
  2120.                        * System Parameter Codes
  2121.                        ------------------------
  2122.           
  2123.           
  2124.                        Character
  2125.                ASCII#  Combination Information displayed
  2126.                ------  ----------- ---------------------
  2127.                65      ^KA        Total system calls
  2128.                66      ^KB        Last caller (any line)
  2129.                67      ^KC        Number of active messages
  2130.                68      ^KD        System starting message number
  2131.                69      ^KE        System ending message number
  2132.                70      ^KF        Number of times user has paged sysop
  2133.                71      ^KG        Day of the week (full form)
  2134.                72      ^KH        Number of users in the user file
  2135.                73      ^KI        Time in 24 hour format
  2136.                74      ^KJ        Today's date
  2137.            @   75      ^KK        Minutes connected this call
  2138.                76      ^KL        Seconds connected (always returns 0)
  2139.            @   77      ^KM        Minutes used today
  2140.                78      ^KN        Seconds used today (always returns 0)
  2141.                79      ^KO        Minutes remaining today
  2142.                80      ^KP        Seconds remaining today (always 0)
  2143.                81      ^KQ        Daily time limit
  2144.                82      ^KR        Current baud rate
  2145.                83      ^KS        Day of the week (abbreviated form)
  2146.                84      ^KT        Daily download limit (in K)
  2147.                85      ^KU        Minutes until next system event
  2148.                86      ^KV        24 hour format time of the next event
  2149.            @   87      ^KW        Line number
  2150.            @   88      ^KX        TERMINATES THE CALL
  2151.            @   89      ^KY        Name of current template message area
  2152.            @   90      ^KZ        Name of current template file area
  2153.            @   48      ^K0        Number of msgs in selected msg area
  2154.            @   49      ^K1        Number of current template message area
  2155.            @   50      ^K2        Number of current template file area
  2156.           
  2157.  
  2158.              @ = not (yet) implemented
  2159.           
  2160.           
  2161.              % = Executing a program in a dos shell: This gives you
  2162.                  the ability to run an external program in a Dos
  2163.                  shell whenever Quesdoor encounters a ^X embedded
  2164.                  in a text file. The ^X is followed by the command
  2165.                  line you want to execute, and terminated with the
  2166.                  pipe symbol (|). For example, to run an external
  2167.                  mail checking utility when a user enters quesdoor
  2168.                  you could embed the following in a file you display
  2169.                  with a displayfile command:
  2170.  
  2171.  
  2172. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 38
  2173.  
  2174.           
  2175.                      ^XC:\ra\utils\mailchek.exe *B *F *L|
  2176.           
  2177.                  Quesdoor would then execute the following dos command:
  2178.           
  2179.                      c:\ra\utils\mailchek.exe 2400 Firstname Lastname
  2180.           
  2181.                  The ^X can only be invoked if you have set AllowFileShells
  2182.                  in Raconfig to yes, because it can be dangerous to use...
  2183.           
  2184.  
  2185. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 39
  2186.  
  2187.  
  2188.     THE LET COMMAND
  2189.     ---------------
  2190.  
  2191.     With the LET command you can change Quesdoor's internal behaviour.
  2192.  
  2193.     There are many keywords you can use to change the internal messages,
  2194.     to set dateformats etc. etc..
  2195.  
  2196.     Here is a list of them:
  2197.  
  2198.       keywords VMSG1 - VMSG5 control the votedoor internal messages
  2199.       keywords TBMSG1 - TBMSG9 control the timebank internal messages
  2200.       keyword DATEFORM sets the dateform as it is used in Askdate.
  2201.       keyword ERRORON overrides the message error switch.
  2202.  
  2203.       (more will be implemented in future versions and on request!)
  2204.     
  2205.  
  2206.  
  2207.     Here is the syntax and the default internal messages and settings:
  2208.     ------------------------------------------------------------------
  2209.   
  2210.  
  2211.     LET DATEFORM = <number>
  2212.  
  2213.        Where number can 1 to 4:
  2214.        1 sets the dateform as DD/MM/YY (the default)
  2215.        2 sets the dateform as MM/DD/YY
  2216.        3 sets the dateform as YY/MM/DD
  2217.        4 sets the dateform as YY/DD/MM
  2218.  
  2219.  
  2220.  
  2221.     LET ERRORON = ON    (or 'OFF')
  2222.  
  2223.        When you start Quesdoor, the default is on, but you can set
  2224.        the error display off with the '/E' parameter. With this keyword
  2225.        you can set the error display on or off in the questionnaire.
  2226.        Useful when you want to debug just one part of the file.
  2227.  
  2228.  
  2229.  
  2230.     LET VMSG1 = <"message">    
  2231.  
  2232.        Default "You already voted on this question!"
  2233.  
  2234.  
  2235.  
  2236.     LET VMSG2 = <"message">
  2237.  
  2238.        Default "Sorry, there are no questions yet!"
  2239.  
  2240.  
  2241.  
  2242.     LET VMSG3 = <"message">
  2243.  
  2244.        Default "You can add a question now. Enter a empty question to quit."
  2245.  
  2246.  
  2247.  
  2248.     LET VMSG4 = <"message">
  2249.  
  2250.  
  2251. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 40
  2252.  
  2253.  
  2254.        Default "Maximal 5 answers are possible."
  2255.  
  2256.  
  2257.  
  2258.  
  2259.     LET VMSG5 = <"message">
  2260.  
  2261.        Default "Give an empty answer when you want to use less then 5         
  2262.        Answers."
  2263.  
  2264.  
  2265.  
  2266.     LET TBMSG1 = <"message">
  2267.  
  2268.        Default "Searching for your record...."
  2269.  
  2270.  
  2271.  
  2272.     LET TBMSG2 = <"message">
  2273.  
  2274.        Default "Timebank account for #:"
  2275.        (The # is translated into the users first and last name)
  2276.  
  2277.  
  2278.  
  2279.     LET TBMSG3 = <"message">
  2280.  
  2281.        Default "Total amount of time stored in all acounts: # minutes"
  2282.        (The # is translated into the total amount of minutes)
  2283.  
  2284.  
  2285.  
  2286.     LET TBMSG4 = <"message">
  2287.  
  2288.        Default "How much do you want to deposit:"
  2289.  
  2290.  
  2291.  
  2292.     LET TBMSG5 = <"message">
  2293.  
  2294.        Default "Are you sure you want to rob the bank (y/N)"
  2295.  
  2296.  
  2297.  
  2298.     LET TBMSG6 = <"message">
  2299.  
  2300.        Default "You were able to rob the bank succesfully and get away."
  2301.  
  2302.  
  2303.  
  2304.     LET TBMSG7 = <"message">
  2305.  
  2306.        Default "You managed to rob # percent of all the acounts."
  2307.        (The # is translated into the percentage you set with the ROBBANK
  2308.        command.)       
  2309.  
  2310.  
  2311.  
  2312.     LET TBMSG8 = <"message">
  2313.  
  2314.        Default "Your account has been updated with # minutes."
  2315.        (The # is translated into the amount of minutes deposited"
  2316.  
  2317.  
  2318. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 41
  2319.  
  2320.  
  2321.     LET TBMSG9 = <"message">
  2322.  
  2323.        Default "It's time to pick a lucky winner..."
  2324.  
  2325.  
  2326.  
  2327.     LET TBMSG10 = <"message">
  2328.        Default "The lottery has # tickets sold, buy one!"
  2329.        (The # is translated into the number of tickets sold)
  2330.  
  2331.  
  2332. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 42
  2333.  
  2334.           INDEX
  2335.           -----
  2336.         
  2337.           -----  A  -----
  2338.           aborting 57
  2339.           according 22, 37-38
  2340.           account 47, 49, 51, 53, 64
  2341.           accountname 53
  2342.           accounts 51
  2343.           acounts 64
  2344.           active 56, 59
  2345.           actual 24
  2346.           additional 5, 47
  2347.           adds 28
  2348.           addvar 2, 28
  2349.           advanced 39
  2350.           age 14
  2351.           agreement 5, 7
  2352.           allowfileshells 61
  2353.           alt 8
  2354.           angry 31
  2355.           ansi 8, 16, 38, 44, 46, 
  2356.             56-57, 59
  2357.           answer 18, 24, 42, 64
  2358.           answernumber 44
  2359.           answers 24, 39, 42, 44, 46, 64
  2360.           anywhere 20
  2361.           appendices 4
  2362.           application 5
  2363.           archive 5, 7, 42
  2364.           area 26, 59
  2365.           aritmethic 2
  2366.           ascii 8, 57, 59
  2367.           askcount 2, 14
  2368.           askdate 2, 14, 62
  2369.           askedit 2, 12
  2370.           askforced 2, 12
  2371.           asknumber 2, 14
  2372.           askquestion 4, 42
  2373.           attached 5
  2374.           automaticly 24, 49
  2375.           available 5, 7
  2376.           
  2377.           
  2378.           -----  B  -----
  2379.           background 16
  2380.           backspace 12, 57
  2381.           bank 4, 47, 51, 53, 64
  2382.           banking 47
  2383.           bar 18
  2384.           base 5, 7, 37
  2385.           basis 5, 7
  2386.           batch 31
  2387.           batchfile 8, 54, 56
  2388.           baud 56, 59
  2389.           baudrates 8
  2390.           bbs 7-8, 10, 14, 25-26, 
  2391.  
  2392.  
  2393. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 43
  2394.  
  2395.  
  2396.           bbs (cont)  37-38, 51, 54, 
  2397.             56-57
  2398.           bbsrules 18
  2399.           beep 4, 14, 54, 57
  2400.           beeps 8, 14
  2401.           behaviour 2, 8, 62
  2402.           besides 56
  2403.           bit 8, 38
  2404.           black 16
  2405.           blackjack 10
  2406.           board 1, 5, 14
  2407.           borrow 47
  2408.           borrowed 51
  2409.           borrowtime 4, 47
  2410.           box 1, 7
  2411.           bringing 31
  2412.           bulletin 5
  2413.           business 57
  2414.           buy 47, 49, 66
  2415.           buyticket 4, 47, 49
  2416.           
  2417.           
  2418.           -----  C  -----
  2419.           call 14, 22, 56-57, 59
  2420.           caller 54, 57, 59
  2421.           calling 14, 56
  2422.           calls 57, 59
  2423.           carriage 18, 57
  2424.           carrier 8, 56
  2425.           case 5, 8, 56
  2426.           changecolor 2, 16, 44, 46
  2427.           chapters 10, 12
  2428.           character 14, 16, 18, 57, 59
  2429.           characters 12, 14, 16, 25-26, 
  2430.             31, 39, 57
  2431.           charge 5
  2432.           chars 12
  2433.           chatmode 8
  2434.           check 7, 37, 41
  2435.           checkdata 4, 41
  2436.           checking 37, 59
  2437.           checkphone 4, 35, 37
  2438.           choice 16
  2439.           clear 57
  2440.           clearing 18, 59
  2441.           clearscreen 2, 18
  2442.           code 27, 56-57
  2443.           codes 4, 12, 20, 27, 54, 
  2444.             56-57, 59
  2445.           colour 16, 44, 46
  2446.           colours 16, 42, 47
  2447.           column 8, 11
  2448.           combination 57, 59
  2449.           command 1-2, 8, 10-12, 14, 
  2450.             16, 18, 20, 22, 24-28, 
  2451.             30-31, 33, 35, 37-39, 
  2452.  
  2453.  
  2454. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 44
  2455.  
  2456.  
  2457.           command (cont)  41-42, 44, 
  2458.             46-47, 49, 51, 53-54, 
  2459.             56-57, 59, 61-62, 64
  2460.           commands 2, 4, 8, 10-11, 31, 
  2461.             39, 42, 47
  2462.           comments 11
  2463.           commercial 7
  2464.           compares 33, 35
  2465.           compatible 8, 10, 56
  2466.           complete 8, 10, 20, 27, 47
  2467.           concept 4, 39, 42, 47
  2468.           conditions 5
  2469.           config 8, 20
  2470.           conflicts 56
  2471.           consequential 5
  2472.           console 24, 54, 57
  2473.           contact 7
  2474.           contain 20, 26, 28, 30, 37
  2475.           containing 42
  2476.           contents 2, 12, 14, 18, 20, 
  2477.             22, 24-26, 28, 30, 33, 35, 
  2478.             37-39, 41, 44, 46
  2479.           control 4, 12, 20, 27, 54, 
  2480.             56-57, 62
  2481.           converted 26
  2482.           copy 5, 7
  2483.           copyright 1
  2484.           correct 8, 12, 37
  2485.           correctly 56
  2486.           cost 49
  2487.           counts 27
  2488.           create 10, 31, 39
  2489.           created 24-25, 42
  2490.           credit 57
  2491.           currency 7
  2492.           current 24-26, 33, 38, 56-57, 
  2493.             59
  2494.           cursor 57
  2495.           
  2496.           
  2497.           -----  D  -----
  2498.           dangerous 61
  2499.           dark 16
  2500.           data 5, 25-26, 39, 41-42, 47, 
  2501.             51, 53, 57
  2502.           database 4, 37, 39, 41-42, 44
  2503.           datafield 10
  2504.           dataphone 25, 37
  2505.           dataphonenumber 37
  2506.           date 14, 24, 57, 59
  2507.           dateform 14, 62
  2508.           dateformats 62
  2509.           day 51, 59
  2510.           debug 62
  2511.           declaration 28, 30-31
  2512.           declare 31
  2513.  
  2514.  
  2515. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 45
  2516.  
  2517.  
  2518.           default 10, 14, 62, 64, 66
  2519.           defaults 16
  2520.           delete 2, 12, 24, 42, 53
  2521.           deleted 42
  2522.           depending 10
  2523.           depends 5
  2524.           deposit 47, 49, 64
  2525.           deposited 64
  2526.           depostime 4, 49
  2527.           dept 47
  2528.           descriptor 22, 24
  2529.           details 5
  2530.           detect 8, 56
  2531.           determine 5, 37-38
  2532.           developed 5
  2533.           difference 20
  2534.           different 14, 16
  2535.           dir 8, 20, 24-25, 42, 56
  2536.           direct 5, 7
  2537.           directly 8, 47
  2538.           directory 7-8, 20, 39, 47, 53
  2539.           disable 10, 57
  2540.           disclaimer 2
  2541.           disk 2, 20, 24, 56
  2542.           display 2, 7, 12, 14, 16, 18, 
  2543.             20, 22, 31, 37, 44, 46, 59, 
  2544.             62
  2545.           displayanyfile 2, 20
  2546.           displayed 18, 20, 22, 24, 44, 
  2547.             59
  2548.           displayfile 2, 18, 20, 57, 59
  2549.           displays 18, 20, 22
  2550.           distribute 5
  2551.           distribution 5, 7
  2552.           disturb 59
  2553.           divides 30
  2554.           divvar 2, 30
  2555.           documentation 5
  2556.           door 1-2, 4-5, 7-8, 10-12, 
  2557.             14, 16, 18, 20, 22, 24-28, 
  2558.             30-31, 33, 35, 37-39, 
  2559.             41-42, 44, 46-47, 49, 51, 
  2560.             53-54, 56-57, 59, 61-62, 
  2561.             64, 66
  2562.           doors 8
  2563.           dorinfo 10, 56
  2564.           dos 10-11, 20, 39, 57, 59, 61
  2565.           download 59
  2566.           driver 8
  2567.           due 5
  2568.           dutch 7
  2569.           
  2570.           
  2571.           -----  E  -----
  2572.           easier 35, 39
  2573.           easy 8, 10, 31
  2574.  
  2575.  
  2576. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 46
  2577.  
  2578.  
  2579.           echo 22, 24
  2580.           edit 12, 53
  2581.           editor 8, 59
  2582.           either 7, 27, 37
  2583.           embed 59
  2584.           embedded 59
  2585.           empty 12, 39, 42, 62, 64
  2586.           ems 56
  2587.           enabled 8, 16, 18, 38
  2588.           enables 10
  2589.           encountered 31, 33, 35
  2590.           encounters 8, 57, 59
  2591.           endif 4, 33, 35, 37
  2592.           ending 59
  2593.           endlabel 31
  2594.           endless 31
  2595.           endnotif 4, 33, 35
  2596.           enhanced 8, 10
  2597.           enter 12, 14, 16, 37, 42, 44, 
  2598.             46, 62
  2599.           entered 7, 14, 25
  2600.           enters 51, 59
  2601.           entitles 5
  2602.           environment 8
  2603.           equal 35
  2604.           eques 33
  2605.           error 8, 10, 24, 62
  2606.           errorlevel 54
  2607.           erroron 62
  2608.           eurocheque 7
  2609.           europe 1, 7
  2610.           european 14
  2611.           event 5, 39, 49, 56, 59
  2612.           events 49
  2613.           exact 8
  2614.           exactly 14, 31, 57
  2615.           example 12, 14, 16, 18, 20, 
  2616.             22, 24-28, 30-31, 33, 35, 
  2617.             37-39, 41-42, 44, 46-47, 
  2618.             49, 51, 53-54, 56, 59
  2619.           exceed 5, 42
  2620.           excludes 5
  2621.           exec 4, 56
  2622.           executable 5
  2623.           execute 57, 59, 61
  2624.           executed 12, 26-28, 31, 33, 
  2625.             35, 37-38
  2626.           executing 26, 33, 35, 59
  2627.           exist 10, 24
  2628.           exit 56
  2629.           exitinfo 10, 56
  2630.           expected 14, 16
  2631.           expects 20
  2632.           express 5, 12
  2633.           extension 8, 20, 24, 39
  2634.           external 8, 56, 59
  2635.  
  2636.  
  2637. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 47
  2638.  
  2639.  
  2640.           extra 8, 26, 42, 47, 56
  2641.           
  2642.           
  2643.           -----  F  -----
  2644.           fails 51
  2645.           family 37
  2646.           fee 5, 7
  2647.           feel 42, 47
  2648.           field 14, 25-26, 37
  2649.           file 2, 5, 7-8, 18, 20, 24, 
  2650.             31, 42, 47, 53, 59, 62
  2651.           filename 20, 22, 24, 54
  2652.           files 8, 10, 20, 30-31, 57
  2653.           fill 12, 25-26
  2654.           find 8, 20, 24-25, 42, 44, 47
  2655.           firstname 61
  2656.           fitness 5
  2657.           fixed 18, 22
  2658.           flag 22, 25, 28, 37-38
  2659.           flagset 22, 37
  2660.           flexible 8, 31
  2661.           followed 20, 24, 59
  2662.           foreground 16
  2663.           forever 8
  2664.           form 5, 7, 14, 59
  2665.           format 59
  2666.           formatted 22
  2667.           forms 14
  2668.           forward 57
  2669.           fossil 8, 56
  2670.           found 8, 37, 42
  2671.           free 10, 42, 47, 56
  2672.           friend 53
  2673.           frontdoor 25
  2674.           full 8, 12, 27, 56-57, 59
  2675.           function 8
  2676.           further 12
  2677.           future 5, 62
  2678.           
  2679.           
  2680.           -----  G  -----
  2681.           gamble 10
  2682.           game 10, 25
  2683.           games 10
  2684.           generated 7
  2685.           getchar 2, 16
  2686.           getchoice 2, 16
  2687.           gets 12, 42, 47, 51, 53
  2688.           ghost 14
  2689.           global 4
  2690.           go 27, 42, 47
  2691.           good 8, 11
  2692.           gosublabel 4, 31, 33
  2693.           gotolabel 4, 31, 37
  2694.           graphics 16, 56
  2695.           group 5
  2696.  
  2697.  
  2698. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 48
  2699.  
  2700.  
  2701.           guess 25
  2702.           
  2703.           
  2704.           -----  H  -----
  2705.           halt 4, 54
  2706.           hangup 8
  2707.           hard 42
  2708.           hardcoded 51
  2709.           hello 22, 24, 27
  2710.           help 53
  2711.           hobbies 24
  2712.           home 57
  2713.           homephone 26, 37
  2714.           hot 56, 59
  2715.           hour 59
  2716.           
  2717.           
  2718.           -----  I  -----
  2719.           idea 10
  2720.           ifnot 4, 33, 35
  2721.           illegal 7
  2722.           implemented 59, 62
  2723.           implied 5
  2724.           impossible 56
  2725.           incidental 5
  2726.           included 7, 10, 42
  2727.           including 5, 10, 14, 42, 51
  2728.           increasing 39
  2729.           index 39
  2730.           indexer 39
  2731.           info 14
  2732.           information 2, 5, 56-57, 59
  2733.           input 2, 12, 14, 16
  2734.           insert 57
  2735.           install 7, 10, 42, 47
  2736.           installing 2, 8, 10
  2737.           instead 7, 12, 39
  2738.           integers 14, 28, 35
  2739.           internal 10, 62
  2740.           interpreter 8, 12, 57
  2741.           introduction 2
  2742.           invalid 8, 14, 37, 49
  2743.           invoke 8, 44, 46
  2744.           involve 8
  2745.           itself 8, 10, 42, 47
  2746.           
  2747.           
  2748.           -----  K  -----
  2749.           keyword 22, 56, 62
  2750.           
  2751.           
  2752.           -----  L  -----
  2753.           labelname 31, 33
  2754.           labels 4, 31
  2755.           last 56-57, 59, 64
  2756.           learn 8
  2757.  
  2758. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 49
  2759.  
  2760.  
  2761.           least 14, 31
  2762.           leave 11, 56
  2763.           legal 2, 5, 10, 12, 20
  2764.           lend 47
  2765.           length 12, 14, 18, 22, 31, 
  2766.             39, 57
  2767.           less 8, 64
  2768.           let 4, 10, 14, 33, 46, 53, 
  2769.             62, 64, 66
  2770.           letter 7
  2771.           level 20, 26-27, 37, 57
  2772.           library 7
  2773.           license 2, 5
  2774.           likely 12
  2775.           limit 56, 59
  2776.           limitation 5
  2777.           line 5, 8, 10-11, 18, 22, 26, 
  2778.             56, 59
  2779.           lines 33, 35
  2780.           list 20, 27, 62
  2781.           listanswer 2, 20
  2782.           listflags 2, 22
  2783.           listsecurity 2, 20
  2784.           listtimeleft 2, 20, 22
  2785.           loaddata 4, 39
  2786.           loan 47
  2787.           local 8, 18, 24, 54, 56
  2788.           location 57
  2789.           lock 8
  2790.           logfile 25
  2791.           long 5, 8, 12, 14, 22
  2792.           longer 25-26, 31, 39
  2793.           looks 8, 12, 31
  2794.           lost 51
  2795.           lottery 49, 51, 66
  2796.           lucky 47, 49, 66
  2797.           
  2798.           
  2799.           -----  M  -----
  2800.           match 33, 35
  2801.           material 5
  2802.           matters 2
  2803.           max 12, 14, 25, 47, 49
  2804.           maximum 14, 31, 39, 42, 47, 49
  2805.           member 37
  2806.           memory 10, 56
  2807.           menu 10, 18
  2808.           menutype 42, 47
  2809.           message 7, 10, 24, 26, 42, 
  2810.             57, 59, 62, 64, 66
  2811.           messagebase 39, 42, 47
  2812.           messages 10, 57, 59, 62
  2813.           min 12, 14
  2814.           minimal 14
  2815.           minimum 14, 42
  2816.           minutes 22, 27, 47, 49, 53, 
  2817.  
  2818.  
  2819. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 50
  2820.  
  2821.  
  2822.           minutes (cont)  57, 59, 64
  2823.           mode 7, 59
  2824.           modify 5, 42, 47
  2825.           multiline 8
  2826.           mulvar 2, 28
  2827.           
  2828.           
  2829.           -----  N  -----
  2830.           name 5, 10, 12, 18, 20, 24, 
  2831.             27, 31, 39, 41-42, 44, 51, 
  2832.             56-57, 59, 64
  2833.           nested 33, 35
  2834.           new 7, 10, 24-26, 30, 33, 35, 
  2835.             37, 42
  2836.           newuser 10, 24, 39
  2837.           next 8, 10, 12, 18, 42, 44, 
  2838.             49, 53-54, 59
  2839.           nightly 39
  2840.           normally 31, 54, 56
  2841.           note 26, 56
  2842.           notification 51
  2843.           notified 51, 53
  2844.           num 12, 14, 16, 18, 20, 22, 
  2845.             24-27, 33, 35, 37-39, 
  2846.             41-42, 44
  2847.           number 5, 7-8, 12, 14, 18, 
  2848.             22, 25-28, 30, 33, 35, 
  2849.             37-39, 42, 44, 46, 51, 57, 
  2850.             59, 62, 66
  2851.           numbers 22, 28, 30, 35, 37, 39
  2852.           
  2853.           
  2854.           -----  O  -----
  2855.           off 10, 22, 25, 28, 37-38, 
  2856.             47, 56, 59, 62
  2857.           offending 42
  2858.           online 11, 31, 56
  2859.           operate 8
  2860.           opportunity 53
  2861.           opposite 28, 35
  2862.           option 51
  2863.           optional 10, 16, 18, 27, 33, 
  2864.             42, 47, 49
  2865.           order 5, 7, 11, 56
  2866.           otherwise 5, 41
  2867.           output 2, 22, 24
  2868.           outputanswer 2, 24
  2869.           outputlog 2, 25
  2870.           overwrite 39
  2871.           
  2872.           
  2873.           -----  P  -----
  2874.           package 39, 42, 47
  2875.           page 2, 4-5, 7-8, 10-12, 14, 
  2876.             16, 18, 20, 22, 24-28, 
  2877.             30-31, 33, 35, 37-39, 
  2878.  
  2879.  
  2880. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 51
  2881.  
  2882.  
  2883.           page (cont)  41-42, 44, 
  2884.             46-47, 49, 51, 53-54, 
  2885.             56-57, 59, 61-62, 64, 66
  2886.           paged 59
  2887.           parameter 26, 56-57, 59, 62
  2888.           part 7, 62
  2889.           passed 56
  2890.           password 57
  2891.           paste 30
  2892.           path 8, 10, 20, 39, 54, 56
  2893.           pause 4, 54, 57
  2894.           payment 7
  2895.           percentage 42, 44, 46, 49, 
  2896.             51, 64
  2897.           performance 5, 8
  2898.           phone 37, 57
  2899.           phonenumber 25-26, 37
  2900.           pipe 59
  2901.           place 10
  2902.           point 31
  2903.           points 8, 11
  2904.           possible 8, 12, 20, 35, 39, 
  2905.             56, 64
  2906.           postal 7
  2907.           posted 44, 57
  2908.           postinfo 2, 24
  2909.           powerful 22
  2910.           preformat 22
  2911.           press 8, 12, 14, 44
  2912.           pressed 57
  2913.           price 5, 47
  2914.           print 7
  2915.           printed 24
  2916.           prints 25
  2917.           prior 7
  2918.           problem 8, 56
  2919.           procedure 4-5
  2920.           produce 57
  2921.           program 5, 8, 10-11, 39, 42, 
  2922.             56-57, 59
  2923.           programming 8, 31
  2924.           programs 24, 56
  2925.           prompt 44, 49, 57, 59
  2926.           prompted 44, 47, 49, 53
  2927.           provide 5
  2928.           provided 5, 10, 18, 22, 24
  2929.           purpose 5, 57
  2930.           
  2931.           
  2932.           -----  Q  -----
  2933.           qdb 39
  2934.           quesbank 47, 53
  2935.           quesdoor 1-2, 4-5, 7-8, 
  2936.             10-12, 14, 16, 18, 20, 22, 
  2937.             24-28, 30-31, 33, 35, 
  2938.             37-39, 41-42, 44, 46-47, 
  2939.  
  2940.  
  2941. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 52
  2942.  
  2943.  
  2944.           quesdoor (cont)  49, 51, 
  2945.             53-54, 56-57, 59, 61-62, 
  2946.             64, 66
  2947.           questionairs 8, 31
  2948.           questionnaire 1, 8, 10-12, 
  2949.             24, 26, 31, 33, 39, 42, 44, 
  2950.             47, 54, 56, 62
  2951.           questions 18, 39, 42, 44, 62
  2952.           quicked 56
  2953.           quiet 59
  2954.           quit 4, 54, 62
  2955.           quotes 18
  2956.           
  2957.           
  2958.           -----  R  -----
  2959.           ra 1, 8, 10, 18, 20, 25-26, 
  2960.             42, 47, 56, 61
  2961.           raccess 10
  2962.           raconfig 8, 20, 61
  2963.           random 2, 25
  2964.           rate 56, 59
  2965.           reacts 12
  2966.           read 35, 57
  2967.           readansi 4, 38
  2968.           readflag 4, 37
  2969.           readsecurity 4, 37
  2970.           ready 42, 47
  2971.           reason 5
  2972.           record 8, 64
  2973.           redrawtime 4, 49
  2974.           refuse 14, 49
  2975.           refuses 14
  2976.           register 5
  2977.           registering 2, 5, 7
  2978.           registration 5, 7, 12
  2979.           release 42
  2980.           reload 39
  2981.           remain 26
  2982.           remoteaccess 1, 7, 10, 57
  2983.           rename 7
  2984.           replaced 26, 56
  2985.           replaces 26
  2986.           report 51
  2987.           require 56
  2988.           required 8, 42, 56
  2989.           reserved 1
  2990.           resist 7
  2991.           resists 53
  2992.           response 12, 16
  2993.           restart 39
  2994.           result 28, 30-31, 35, 37
  2995.           return 14, 18, 37, 57
  2996.           returns 54, 59
  2997.           reverse 5
  2998.           right 22
  2999.           risk 5
  3000.  
  3001.  
  3002. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 53
  3003.  
  3004.  
  3005.           rob 64
  3006.           robbank 4, 49, 64
  3007.           robbery 51
  3008.           robbing 51
  3009.           routines 8, 12
  3010.           run 4-5, 8, 10, 39, 54, 56, 59
  3011.           running 56
  3012.           
  3013.           
  3014.           -----  S  -----
  3015.           save 47
  3016.           screen 2, 18, 20, 22, 24, 57, 
  3017.             59
  3018.           second 12, 44, 56-57
  3019.           section 5, 12
  3020.           security 20, 26-27, 37, 57
  3021.           sensitive 8, 31
  3022.           serial 7
  3023.           session 7, 49
  3024.           set 5, 8, 10, 14, 22, 25, 
  3025.             27-28, 37, 44, 46, 61-62, 64
  3026.           setdataphone 2, 25
  3027.           setflag 2, 25, 28
  3028.           sethomephone 2, 26
  3029.           setlevel 2, 26
  3030.           setparam 2, 26
  3031.           sets 26, 62
  3032.           setsecurity 2, 27
  3033.           settime 2, 27
  3034.           setting 2, 22, 28, 57, 59
  3035.           settings 62
  3036.           setvar 2, 12, 27, 44
  3037.           share 5, 8
  3038.           shell 56-57, 59
  3039.           show 7, 42
  3040.           showaccount 4, 51, 53
  3041.           showanswer 4, 42, 44
  3042.           showclients 4, 51
  3043.           showing 7
  3044.           shown 12, 18, 44, 46, 51
  3045.           showquestion 4, 44
  3046.           side 18
  3047.           signifies 33
  3048.           simultaneously 5
  3049.           single 47
  3050.           site 5, 7-8, 16
  3051.           skipped 33, 35
  3052.           slower 39
  3053.           small 7, 25, 53
  3054.           smaller 35
  3055.           smart 8
  3056.           sorry 62
  3057.           sort 20
  3058.           space 22
  3059.           special 5, 10, 39, 57
  3060.           specified 16, 18, 20, 25, 27, 
  3061.  
  3062.  
  3063. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 54
  3064.  
  3065.  
  3066.           specified (cont)  31, 33, 35, 
  3067.             47, 49, 56
  3068.           speed 39
  3069.           start 4, 8, 10-12, 22, 24, 
  3070.             26, 31, 33, 53, 56, 62
  3071.           starting 11, 24, 59
  3072.           starts 10, 14, 18, 33
  3073.           statement 33, 35
  3074.           status 8
  3075.           store 27, 39, 53
  3076.           stored 14, 16, 27-28, 30, 39, 
  3077.             42, 49, 51, 64
  3078.           string 12, 14, 25, 27, 33, 
  3079.             35, 54
  3080.           style 25
  3081.           subject 5
  3082.           subtracted 49
  3083.           subtracts 28
  3084.           subvar 2, 28
  3085.           supplied 7, 20, 27, 37
  3086.           supply 14, 26-28, 30, 33, 37
  3087.           support 1, 5
  3088.           swap 56
  3089.           switches 7
  3090.           syntax 12, 14, 16, 18, 20, 
  3091.             22, 24-28, 30-31, 33, 35, 
  3092.             37-39, 41-42, 44, 47, 49, 
  3093.             51, 54, 62
  3094.           sys 8
  3095.           sysop 8, 42, 59
  3096.           system 7, 47, 49, 57, 59
  3097.           systems 5, 8
  3098.           
  3099.           
  3100.           -----  T  -----
  3101.           tab 57
  3102.           telephone 14
  3103.           template 26, 59
  3104.           temporary 10
  3105.           terminate 33
  3106.           terminated 59
  3107.           terminates 54, 59
  3108.           terms 2, 5
  3109.           text 16, 18, 20, 22, 59
  3110.           textfile 20
  3111.           ticket 47, 49
  3112.           tickets 47, 49, 51, 66
  3113.           till 14
  3114.           time 8, 10, 12, 22, 24, 27, 
  3115.             47, 49, 51, 53, 56-57, 59, 
  3116.             64, 66
  3117.           timebank 4, 10, 47, 51, 53, 
  3118.             62, 64
  3119.           timer 8
  3120.           times 11, 59
  3121.           tips 2, 10
  3122.  
  3123.  
  3124. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 55
  3125.  
  3126.  
  3127.           tm 1
  3128.           today 57, 59
  3129.           together 30-31
  3130.           toggle 28
  3131.           toggled 28
  3132.           toggleflag 2, 28
  3133.           toggles 28
  3134.           top 30-31
  3135.           total 47, 51, 57, 59, 64
  3136.           translated 18, 44, 46, 64, 66
  3137.           transtime 4, 51, 53
  3138.           trial 5
  3139.           tries 42
  3140.           truncated 25-26, 39
  3141.           type 10, 18, 26
  3142.           
  3143.           
  3144.           -----  U  -----
  3145.           understand 8
  3146.           unique 7
  3147.           uniquely 7
  3148.           uploads 57
  3149.           used 5, 7, 12, 20, 22, 27, 
  3150.             35, 37-38, 42, 44, 47, 49, 
  3151.             51, 56-57, 59, 62
  3152.           useful 10, 24, 53, 62
  3153.           user 8, 12, 14, 16, 18, 
  3154.             24-28, 37-39, 41-42, 44, 
  3155.             46-47, 49, 51, 53, 56-57, 59
  3156.           users 7, 12, 18, 20, 22, 
  3157.             25-28, 31, 37-39, 44, 46, 
  3158.             49, 51, 53, 57, 59, 64
  3159.           usually 8
  3160.           util 53
  3161.           utility 53, 59
  3162.           utils 42, 47, 56, 61
  3163.           
  3164.           
  3165.           -----  V  -----
  3166.           valid 7-8, 11-12, 16, 28, 30, 
  3167.             39
  3168.           validate 57
  3169.           value 14, 25, 28, 35, 37, 56
  3170.           values 12
  3171.           variabelen 35
  3172.           variable 8, 12, 14, 16, 18, 
  3173.             20, 22, 24-28, 30, 33, 35, 
  3174.             37, 39, 44, 46
  3175.           varnum 30
  3176.           version 5, 10
  3177.           vertical 18
  3178.           voice 57
  3179.           vot 42
  3180.           vote 42, 44, 46
  3181.           votedoor 4, 42, 44, 46, 62
  3182.           voting 4, 10, 42, 44, 46
  3183.  
  3184.  
  3185. InterSoft - QUESDOOR - The Extended Questionaire Language Door - Page 56
  3186.  
  3187.  
  3188.           -----  W  -----
  3189.           wait 57
  3190.           waits 12, 14, 16
  3191.           watchdog 8
  3192.           week 59
  3193.           winner 47, 49, 66
  3194.           wish 5, 11
  3195.           word 26, 35
  3196.           words 33, 35
  3197.           works 35, 53
  3198.           write 8, 22, 39
  3199.           writedata 4, 39
  3200.           writes 39
  3201.           written 7
  3202.           
  3203.           
  3204.           -----  Y  -----
  3205.           year 11, 14
  3206.           
  3207.           
  3208.           -----  Z  -----
  3209.           zip 39, 42, 47
  3210.           
  3211.